FFramebufferSpecification

namespace marengine

Enums

enum EFramebufferTextureFormat

Values:

enumerator NONE
enumerator RGBA8
enumerator RED_INTEGER
enumerator DEPTH24STENCIL8
enumerator DEPTH
struct FFramebufferSpecification

Public Members

std::vector<EFramebufferTextureFormat> textureFormats
maths::vec3 clearColor
uint32 width = {0}
uint32 height = {0}
uint32 samples = {1}
class IFramebuffer : public FRenderResource

Subclassed by FFramebuffer

Public Functions

void create(const FFramebufferSpecification &specs) = 0
void destroy() = 0
void bind() const = 0
void unbind() const = 0
void clear() const = 0
void resize(uint32 width, uint32 height) = 0
void setSize(uint32 width, uint32 height) = 0
void setClearColor(maths::vec3 clearColor) = 0
uint32 getWidth() const = 0
uint32 getHeight() const = 0
uint32 getColorAttach() const = 0
class IFramebufferFactory : public FRenderResourceFactory

Subclassed by FFramebufferFactory

Public Functions

FFramebuffer *emplace() = 0
class IFramebufferStorage : public IRenderResourceStorage

Subclassed by FFramebufferStorage

Public Functions

FFramebuffer *get(int32 index) const = 0
uint32 getCount() const = 0