You.i Engine
YiAssetTextureFramebuffer.h
Go to the documentation of this file.
1 // © You i Labs Inc. All rights reserved.
2 #ifndef _YI_ASSET_TEXTURE_FRAMEBUFFER_H_
3 #define _YI_ASSET_TEXTURE_FRAMEBUFFER_H_
4 
7 
21 {
22 public:
24  CYIAssetTextureFramebuffer(int32_t width, int32_t height, IYIMaterialFactory::ColorSpace colorSpace);
25 
27 
28  virtual std::pair<size_t, size_t> GetApproximateSize() const override;
29 
30 protected:
31  virtual std::shared_ptr<IYIGPUObject> CreateGPUObject() const override;
32 
33  virtual void OnUnload() override;
34 
35 private:
37 };
38 
41 #endif // _YI_ASSET_TEXTURE_FRAMEBUFFER_H_
ColorSpace
Definition: YiMaterialFactory.h:37
virtual ~CYIAssetTextureFramebuffer()
A texture frame buffer representing an image in the GPU that can be drawn to.
Definition: YiAssetTextureFramebuffer.h:20
This asset represents the base class for POT (Power Of Two) and NPOT (Non-Power Of Two) textures...
Definition: YiAssetTextureBase.h:22
#define YI_TYPE_BASES(CLASS, BASES...)
Definition: YiRtti.h:259
virtual void OnUnload() override
virtual std::shared_ptr< IYIGPUObject > CreateGPUObject() const override
virtual std::pair< size_t, size_t > GetApproximateSize() const override