class RenderTarget

Render target is a frame buffer or a texture that the render system renders the scene to.

Public

Constructors

RenderTarget

RenderTarget()

Methods

~RenderTarget

virtual ~RenderTarget() noexcept = default

SetPriority

void SetPriority(i32 priority)

Sets a priority that determines in which orders the render targets the processed.

priority
The priority. Higher value means the target will be rendered sooner.

GetProperties

const RenderTargetProperties &GetProperties() const

Returns properties that describe the render target.

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Fields

OnResized

Event<void ()> OnResized

Event that gets triggered whenever the render target is resized.

OnDPIScaleChanged

Event<void ()> OnDPIScaleChanged

Triggered when the DPI scale changes.

Protected

Fields

mRenderTargetProperties

RenderTargetProperties mRenderTargetProperties