You.i Engine
YiOffscreenRenderTarget.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_OFFSCREEN_RENDER_TARGET_H_
3 #define _YI_OFFSCREEN_RENDER_TARGET_H_
4 
5 #include "renderer/YiGPUObject.h"
7 
27 {
28 public:
29  friend class CYIRenderTarget;
30 
32 
37  void SetFramebufferAsset(const std::shared_ptr<CYIAssetFramebuffer> &pFramebuffer);
38 
42  void SetTargetSize(uint32_t uWidth, uint32_t uHeight);
43 
44 private:
46 
48 };
49 
52 #endif // _YI_OFFSCREEN_RENDER_TARGET_H_
#define YI_TYPE_BASES(...)
Definition: YiRtti.h:350
Defines a target for the rendering results to be sent to.
Definition: YiRenderTarget.h:49
Defines an offscreen target for the rendering results to be sent to.
Definition: YiOffscreenRenderTarget.h:26
void SetTargetSize(uint32_t uWidth, uint32_t uHeight)
void SetFramebufferAsset(const std::shared_ptr< CYIAssetFramebuffer > &pFramebuffer)