USAGE
Definition: YiAssetTextureBase.h:49
virtual int32_t GetHeight() const override
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
CYIAssetTexture(USAGE usage=USAGE_STATIC)
A texture asset representing an image which will be loaded into the GPU.
Definition: YiAssetTexture.h:23
virtual std::pair< uint32_t, uint32_t > GetApproximateSize() const override
virtual ~CYIAssetTexture()
virtual void OnUnload() override
virtual int32_t GetWidth() const override
Definition: YiAssetTextureBase.h:51
virtual std::shared_ptr< IYIGPUObject > CreateGPUObject() const override
This asset represents the base class for POT (Power Of Two) and NPOT (Non-Power Of Two) textures...
Definition: YiAssetTextureBase.h:24
const std::shared_ptr< CYIBitmap > & GetBitmap()
void SetBitmap(const std::shared_ptr< CYIBitmap > &pBitmap)