Type: RenderContext

Client Only

Methods

PushRenderTargetAndViewport

void PushRenderTargetAndViewport(Texture@, int, int, int, int)

PushRenderTargetAndViewport

void PushRenderTargetAndViewport(Texture@)

PopRenderTargetAndViewport

void PopRenderTargetAndViewport()

SetViewport

void SetViewport(int, int, int, int)

GetViewport

void GetViewport(int&out, int&out, int&out, int&out)

GetRenderTarget

Texture@ GetRenderTarget()

SetRenderTarget

void SetRenderTarget(Texture@)

SetMatrix

void SetMatrix(EMatrixMode, const VMatrix&in)

ClearMatrix

void ClearMatrix(EMatrixMode)

GetMatrix

VMatrix GetMatrix(EMatrixMode)

CopyRenderTargetToTexture

void CopyRenderTargetToTexture(Texture@)

BindLocalCubemap

void BindLocalCubemap(Texture@)

ClearBuffers

void ClearBuffers(bool, bool, bool)

SetClearColor

void SetClearColor(Color)

Bind

void Bind(Material@)

DrawScreenSpaceRectangle

void DrawScreenSpaceRectangle(Material@, float, float, float, float, float, float, float, float)

SetDepthRange

void SetDepthRange(float, float)