You.i Engine
CYIScreenRenderTarget Class Reference

Detailed Description

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

See also

#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
Type GetTargetType () const
void SetDeviceHorizontalPixelRatio (float devicePixelRatio)
void SetDeviceVerticalPixelRatio (float devicePixelRatio)
void SetDeviceDiagonalPixelRatio (float devicePixelRatio)
float GetDeviceHorizontalPixelRatio () const
float GetDeviceVerticalPixelRatio () const
float GetDeviceDiagonalPixelRatio () const
void SetClearColor (const CYIColor &clearColor)
const CYIColorGetClearColor () const
void SetAttribute (Attribute attribute, bool value)
bool GetAttribute (Attribute attribute) const


class CYIRenderTarget
class CYISceneBuilder

Additional Inherited Members

- Public Types inherited from CYIRenderTarget
enum  Attribute {
  Attribute::None = 0x00,
  Attribute::ClearColorBuffer = 0x01,
  Attribute::ClearDepthBuffer = 0x02,
  Attribute::ClearAll = ClearColorBuffer | ClearDepthBuffer
enum  Type {
  Type::Screen = 1,
- Static Public Member Functions inherited from CYIRenderTarget
static std::unique_ptr< CYIScreenRenderTargetCreateScreenTarget (const CYIViewport &viewport)
static std::unique_ptr< CYIOffscreenRenderTargetCreateOffscreenTarget (Type targetType, uint32_t targetWidth, uint32_t targetHeight)
- Protected Member Functions inherited from CYIRenderTarget
 CYIRenderTarget ()
- Protected Attributes inherited from CYIRenderTarget
std::shared_ptr< CYIAssetFramebufferm_pFramebuffer

Constructor & Destructor Documentation

◆ ~CYIScreenRenderTarget()

CYIScreenRenderTarget::~CYIScreenRenderTarget ( )

Friends And Related Function Documentation

◆ CYIRenderTarget

friend class CYIRenderTarget

◆ CYISceneBuilder

friend class CYISceneBuilder

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