HPL3/Community/Scripting/Classes/crenderercallbackfunctions

From Frictional Wiki
Jump to navigation Jump to search

cRendererCallbackFunctions

Fields

cRendererCallbackFunctions has no public fields.

Functions

Return Type Function Name Parameters Description
void SetFlatProjection const cVector2f& avSize = 1,
float afMin = -100,
float afMax = 100
void SetFlatProjectionMinMax const cVector3f& avMin,
const cVector3f& avMax
void SetNormalFrustumProjection
void SetFrameBuffer iFrameBuffer@ apFrameBuffer,
bool abUsePosAndSize = false
void ClearFrameBuffer uint aFlags,
bool abUsePosAndSize
void DrawQuad const cVector3f &in aPos,
const cVector2f &in avSize,
const cVector2f &in avMinUV = 0,
const cVector2f &in avMaxUV = 1,
bool abInvertY = false,
const cColor &in aColor = cColor,
1,
1
bool SetDepthTest bool abX
bool SetDepthWrite bool abX
bool SetDepthTestFunc eDepthTestFunc aFunc
bool SetCullActive bool abX
bool SetCullMode eCullMode aMode
bool SetStencilActive bool abX
bool SetScissorActive bool abX
bool SetScissorRect const cVector2l &in avPos,
const cVector2l &in avSize,
bool abAutoEnabling
bool SetScissorRect const cRect2l &in aClipRect,
bool abAutoEnabling
bool SetChannelMode eMaterialChannelMode aMode
bool SetBlendMode eMaterialBlendMode aMode
bool SetProgram iGpuProgram@ apProgram
void SetTexture int alUnit,
iTexture@ apTexture
void SetTextureRange iTexture@ apTexture,
int alFirstUnit,
int kMaxTextureUnits-1
void SetVertexBuffer iVertexBuffer@ apVtxBuffer
void SetMatrix const cMatrixf &in apMatrix
void SetModelViewMatrix const cMatrixf &in a_mtxModelView
void DrawCurrent eVertexBufferDrawType eVertexBufferDrawType_LastEnum,
int alStart = 0,
int alCount = -1
void DrawWireFrame iVertexBuffer@ apVtxBuffer,
const cColor& aColor,
int alStart = 0,
int alCount = -1
iLowLevelGraphics@ GetLowLevelGfx

Remarks

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!