You.i Engine
YiAssetTextureFramebuffer.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. 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 nWidth, int32_t nHeight, IYIMaterialFactory::YI_COLORSPACE eColorSpace);
25 
27 
28  virtual std::pair<uint32_t, uint32_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_
#define YI_TYPE_BASES(...)
Definition: YiRtti.h:350
virtual ~CYIAssetTextureFramebuffer()
A texture frame buffer representing an image in the GPU that can be drawn to.
Definition: YiAssetTextureFramebuffer.h:20
virtual std::pair< uint32_t, uint32_t > GetApproximateSize() const override
YI_COLORSPACE
Definition: YiMaterialFactory.h:36
This asset represents the base class for POT (Power Of Two) and NPOT (Non-Power Of Two) textures...
Definition: YiAssetTextureBase.h:24
virtual void OnUnload() override
virtual std::shared_ptr< IYIGPUObject > CreateGPUObject() const override