2 #ifndef _YI_ASSET_FRAMEBUFFER_H_ 3 #define _YI_ASSET_FRAMEBUFFER_H_ 56 void GetDimensions(uint32_t &rWidth, uint32_t &rHeight)
const;
86 #endif // _YI_ASSET_FRAMEBUFFER_H_ bool m_bufferEnabled[s_uAttachmentTypes]
Definition: YiAssetFramebuffer.h:75
virtual std::shared_ptr< IYIGPUObject > CreateGPUObject() const override
void EnableAttachment(YI_ATTACHMENT eAttachment)
#define YI_TYPE_BASES(...)
Definition: YiRtti.h:350
Definition: YiAssetFramebuffer.h:27
virtual bool RequestInvalidate() override
std::shared_ptr< CYIAssetTextureFramebuffer > GetAttachedTexture(YI_ATTACHMENT eAttachment) const
YI_ATTACHMENT
Definition: YiAssetFramebuffer.h:24
bool HasAttachment(YI_ATTACHMENT eAttachment) const
static const uint32_t s_uAttachmentTypes
Definition: YiAssetFramebuffer.h:73
Definition: YiAssetFramebuffer.h:26
virtual bool RequestRestore() override
Hardware-mirrored asset. These assets contain IYIGPUObject counterparts.
Definition: YiAssetHardware.h:21
virtual bool RequestHardwareLoad() override
void SetDimensions(uint32_t uWidth, uint32_t uHeight)
uint32_t m_uWidth
Definition: YiAssetFramebuffer.h:76
virtual std::pair< uint32_t, uint32_t > GetApproximateSize() const override
virtual ~CYIAssetFramebuffer()
Wraps CYIAssetBuffers and their hardware counterparts, and an internally managed FBO.
Definition: YiAssetFramebuffer.h:21
uint32_t m_uHeight
Definition: YiAssetFramebuffer.h:77
std::shared_ptr< CYIAssetTextureFramebuffer > m_pAttachedTextures[s_uAttachmentTypes]
Definition: YiAssetFramebuffer.h:74
void GetDimensions(uint32_t &rWidth, uint32_t &rHeight) const
void DisableAttachment(YI_ATTACHMENT eAttachment)
virtual bool RequestHardwareUnload() override