You.i Engine
CYIScreenRenderTarget Class Reference

Detailed Description

Defines a screen target for the rendering results to be sent to.

See also
CYIRenderTarget

#include <renderer/YiScreenRenderTarget.h>

Inheritance diagram for CYIScreenRenderTarget:

Public Member Functions

 ~CYIScreenRenderTarget ()
 
- Public Member Functions inherited from CYIRenderTarget
virtual ~CYIRenderTarget ()
 
void SetViewport (const CYIViewport &viewport)
 
const CYIViewportGetViewport () const
 
std::shared_ptr< IYIGPUObjectGetFramebuffer () const
 
std::shared_ptr< CYIAssetFramebufferGetFramebufferAsset () const
 
RENDER_TARGET_TYPE GetTargetType () const
 
void SetDeviceHorizontalPixelRatio (float fDevicePixelRatio)
 
void SetDeviceVerticalPixelRatio (float fDevicePixelRatio)
 
void SetDeviceDiagonalPixelRatio (float fDevicePixelRatio)
 
float GetDeviceHorizontalPixelRatio () const
 
float GetDeviceVerticalPixelRatio () const
 
float GetDeviceDiagonalPixelRatio () const
 
void SetClearColor (const CYIColor &clearColor)
 
const CYIColorGetClearColor () const
 
void SetAttribute (RENDER_TARGET_ATTRIBUTE eAttribute, bool bValue)
 
bool GetAttribute (RENDER_TARGET_ATTRIBUTE eAttribute) const
 

Friends

class CYIRenderTarget
 

Additional Inherited Members

- Public Types inherited from CYIRenderTarget
enum  RENDER_TARGET_ATTRIBUTE {
  CLEAR_COLOR_BUFFER = 1,
  CLEAR_DEPTH_BUFFER = 2,
  CLEAR = CLEAR_COLOR_BUFFER | CLEAR_DEPTH_BUFFER
}
 
enum  RENDER_TARGET_TYPE {
  SCREEN = 1,
  OFFSCREEN_COLOR_ONLY,
  OFFSCREEN_DEPTH_ONLY,
  OFFSCREEN_COLOR_AND_DEPTH
}
 
- Static Public Member Functions inherited from CYIRenderTarget
static std::unique_ptr< CYIScreenRenderTargetCreateScreenTarget (const CYIViewport &viewport)
 
static std::unique_ptr< CYIOffscreenRenderTargetCreateOffscreenTarget (RENDER_TARGET_TYPE eTargetType, uint32_t uTargetWidth, uint32_t uTargetHeight)
 
- Protected Member Functions inherited from CYIRenderTarget
 CYIRenderTarget ()
 
- Protected Attributes inherited from CYIRenderTarget
std::shared_ptr< CYIAssetFramebufferm_pFramebuffer
 

Constructor & Destructor Documentation

CYIScreenRenderTarget::~CYIScreenRenderTarget ( )

Friends And Related Function Documentation

friend class CYIRenderTarget
friend

The documentation for this class was generated from the following file: