You.i Engine
YiOffscreenRenderTarget.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. 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  friend class CYISceneBuilder;
31 
33 
38  void SetFramebufferAsset(const std::shared_ptr<CYIAssetFramebuffer> &pFramebuffer);
39 
43  void SetTargetSize(uint32_t width, uint32_t height);
44 
45 private:
47 
49 };
50 
53 #endif // _YI_OFFSCREEN_RENDER_TARGET_H_
void SetTargetSize(uint32_t width, uint32_t height)
Defines a target for the rendering results to be sent to.
Definition: YiRenderTarget.h:51
Defines an offscreen target for the rendering results to be sent to.
Definition: YiOffscreenRenderTarget.h:26
Definition: YiSceneBuilder.h:22
#define YI_TYPE_BASES(CLASS, BASES...)
Definition: YiRtti.h:257
void SetFramebufferAsset(const std::shared_ptr< CYIAssetFramebuffer > &pFramebuffer)