HPL3/Amnesia: Rebirth/Scripting/iLowLevelGraphics
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Fields
iLowLevelGraphics has no public fields.
Functions
Return Type | Function And Description |
---|---|
void | DrawBoxMinMax(const cVector3f &in avMin, const cVector3f &in avMax, const cColor &in aCol) |
void | DrawLine(const cVector3f &in avBegin, const cVector3f &in avEnd, const cColor &in aCol) |
void | DrawLineQuad(const cVector3f &in avPos, const cVector2f &in avSize, const cColor &in aCol) |
void | DrawSphere(const cVector3f &in avPos, float afRadius, const cColor &in aCol, int alSegments = 32) |
tString | GetGraphicsInfo() |
int | GetNumDisplays() |
cVector2f | GetScreenSizeFloat() |
cVector2l | GetScreenSizeInt() |
cVector2l | GetWindowPosition() |
void | SetBrightness(float afX) |
void | SetContrast(float afX) |
void | SetDisplayMode(eDisplayMode aMode) |
void | SetGammaCorrection(float afX) |
void | SetVsyncMode(eVSyncMode aMode) |
Details
DrawBoxMinMax
DrawLine
DrawLineQuad
DrawSphere
GetGraphicsInfo
tString GetGraphicsInfo()
Returns:
- tString—
GetNumDisplays
int GetNumDisplays()
Returns:
- int—
GetScreenSizeFloat
cVector2f GetScreenSizeFloat()
Returns:
- cVector2f—
GetScreenSizeInt
const cVector2l& GetScreenSizeInt()
Returns:
- const cVector2l&—
GetWindowPosition
cVector2l GetWindowPosition()
Returns:
- cVector2l—
SetBrightness
void SetBrightness(float afX)
Parameters
- afX (float) —
Returns:
- void
SetContrast
void SetContrast(float afX)
Parameters
- afX (float) —
Returns:
- void
SetDisplayMode
SetGammaCorrection
void SetGammaCorrection(float afX)
Parameters
- afX (float) —
Returns:
- void
SetVsyncMode
References
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api (← links)
- HPL3/Amnesia: Rebirth/Scripting/cRendererCallbackFunctions (← links)
- HPL3/Amnesia: Rebirth/Scripting/iPhysicsBody (← links)
- HPL3/Amnesia: Rebirth/Scripting/iPhysicsRope (← links)
- HPL3/Amnesia: Rebirth/Scripting/iPhysicsWorld (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cGraphics (← links)