HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cGraphics
< HPL3 | Amnesia: Rebirth | Scripting | Scripting Api
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
- 1 Summary
- 2 Function Detail
- 2.1 cGraphics_CreateDepthStencilBuffer
- 2.2 cGraphics_CreateFrameBuffer
- 2.3 cGraphics_CreateGpuProgram
- 2.4 cGraphics_CreateGpuProgramFromShaders
- 2.5 cGraphics_CreateHeightMap
- 2.6 cGraphics_CreateHeightMapResizedCopy
- 2.7 cGraphics_CreatePostEffect_Blur
- 2.8 cGraphics_CreatePostEffect_ChromaticAberration
- 2.9 cGraphics_CreatePostEffect_FearTentacles
- 2.10 cGraphics_CreatePostEffect_ImageFadeFX
- 2.11 cGraphics_CreatePostEffect_ImageTrail
- 2.12 cGraphics_CreatePostEffect_Insanity
- 2.13 cGraphics_CreatePostEffect_LensDistortion
- 2.14 cGraphics_CreatePostEffect_RadialBlur
- 2.15 cGraphics_CreatePostEffect_ScreenMaterial
- 2.16 cGraphics_CreatePostEffect_ToneMapping
- 2.17 cGraphics_CreatePostEffect_VideoDistortion
- 2.18 cGraphics_CreatePostEffectComposite
- 2.19 cGraphics_CreateTexture
- 2.20 cGraphics_DestroyDepthStencilBuffer
- 2.21 cGraphics_DestroyFrameBuffer
- 2.22 cGraphics_DestroyGpuProgram
- 2.23 cGraphics_DestroyHeightMap
- 2.24 cGraphics_DestroyPostEffect
- 2.25 cGraphics_DestroyPostEffectComposite
- 2.26 cGraphics_DestroyTexture
- 2.27 cGraphics_FindDepthStencilBuffer
- 2.28 cGraphics_GetLowLevel
- 2.29 cGraphics_GetMaterialType
- 2.30 cGraphics_GetRenderer
- 2.31 cGraphics_GetTempFrameBuffer
- 2.32 cGraphics_LoadHeightMapPackedRGB
- 2.33 cGraphics_LoadHeightMapRaw
- 2.34 cGraphics_ReloadMaterials
- 2.35 cGraphics_ReloadRendererData
Summary
Function Detail
cGraphics_CreateDepthStencilBuffer
iDepthStencilBuffer@ cGraphics_CreateDepthStencilBuffer(const cVector2l &in avSize,
int alDepthBits,
int alStencilBits,
bool abLookForMatchingFirst)
Parameters
- avSize (cVector2l) —
- alDepthBits (int) —
- alStencilBits (int) —
- abLookForMatchingFirst (bool) —
Returns:
- iDepthStencilBuffer@—
cGraphics_CreateFrameBuffer
iFrameBuffer@ cGraphics_CreateFrameBuffer(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- iFrameBuffer@—
cGraphics_CreateGpuProgram
iGpuProgram@ cGraphics_CreateGpuProgram(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- iGpuProgram@—
cGraphics_CreateGpuProgramFromShaders
iGpuProgram@ cGraphics_CreateGpuProgramFromShaders(const tString &in asName,
const tString &in asVtxShader,
const tString &in asFragShader,
cPrepParserVarContainer @apVarContainer)
Parameters
- asName (tString) —
- asVtxShader (tString) —
- asFragShader (tString) —
- @apVarContainer (cPrepParserVarContainer) —
Returns:
- iGpuProgram@—
cGraphics_CreateHeightMap
cHeightMap@ cGraphics_CreateHeightMap()
Returns:
- cHeightMap@—
cGraphics_CreateHeightMapResizedCopy
cHeightMap@ cGraphics_CreateHeightMapResizedCopy(cHeightMap @apHeightMap,
const cVector2l &in avSize)
Parameters
- @apHeightMap (cHeightMap) —
- avSize (cVector2l) —
Returns:
- cHeightMap@—
cGraphics_CreatePostEffect_Blur
cPostEffect_Blur@ cGraphics_CreatePostEffect_Blur()
Returns:
- cPostEffect_Blur@—
cGraphics_CreatePostEffect_ChromaticAberration
cPostEffect_ChromaticAberration@ cGraphics_CreatePostEffect_ChromaticAberration()
Returns:
- cPostEffect_ChromaticAberration@—
cGraphics_CreatePostEffect_FearTentacles
cPostEffect_FearTentacles@ cGraphics_CreatePostEffect_FearTentacles()
Returns:
- cPostEffect_FearTentacles@—
cGraphics_CreatePostEffect_ImageFadeFX
cPostEffect_ImageFadeFX@ cGraphics_CreatePostEffect_ImageFadeFX()
Returns:
- cPostEffect_ImageFadeFX@—
cGraphics_CreatePostEffect_ImageTrail
cPostEffect_ImageTrail@ cGraphics_CreatePostEffect_ImageTrail()
Returns:
- cPostEffect_ImageTrail@—
cGraphics_CreatePostEffect_Insanity
cPostEffect_Insanity@ cGraphics_CreatePostEffect_Insanity()
Returns:
- cPostEffect_Insanity@—
cGraphics_CreatePostEffect_LensDistortion
cPostEffect_LensDistortion@ cGraphics_CreatePostEffect_LensDistortion()
Returns:
- cPostEffect_LensDistortion@—
cGraphics_CreatePostEffect_RadialBlur
cPostEffect_RadialBlur@ cGraphics_CreatePostEffect_RadialBlur()
Returns:
- cPostEffect_RadialBlur@—
cGraphics_CreatePostEffect_ScreenMaterial
cPostEffect_ScreenMaterial@ cGraphics_CreatePostEffect_ScreenMaterial()
Returns:
- cPostEffect_ScreenMaterial@—
cGraphics_CreatePostEffect_ToneMapping
cPostEffect_ToneMapping@ cGraphics_CreatePostEffect_ToneMapping()
Returns:
- cPostEffect_ToneMapping@—
cGraphics_CreatePostEffect_VideoDistortion
cPostEffect_VideoDistortion@ cGraphics_CreatePostEffect_VideoDistortion()
Returns:
- cPostEffect_VideoDistortion@—
cGraphics_CreatePostEffectComposite
cPostEffectComposite@ cGraphics_CreatePostEffectComposite()
Returns:
- cPostEffectComposite@—
cGraphics_CreateTexture
iTexture@ cGraphics_CreateTexture(const tString &in asName,
eTextureType aType,
eTextureUsage aUsage)
Parameters
- asName (tString) —
- aType (eTextureType) —
- aUsage (eTextureUsage) —
Returns:
- iTexture@—
cGraphics_DestroyDepthStencilBuffer
void cGraphics_DestroyDepthStencilBuffer(iDepthStencilBuffer@ apBuffer)
Parameters
- apBuffer (iDepthStencilBuffer@) —
Returns:
- void
cGraphics_DestroyFrameBuffer
void cGraphics_DestroyFrameBuffer(iFrameBuffer@ apFrameBuffer)
Parameters
- apFrameBuffer (iFrameBuffer@) —
Returns:
- void
cGraphics_DestroyGpuProgram
void cGraphics_DestroyGpuProgram(iGpuProgram@ apProgram)
Parameters
- apProgram (iGpuProgram@) —
Returns:
- void
cGraphics_DestroyHeightMap
void cGraphics_DestroyHeightMap(cHeightMap@ apHeightMap)
Parameters
- apHeightMap (cHeightMap@) —
Returns:
- void
cGraphics_DestroyPostEffect
void cGraphics_DestroyPostEffect(iPostEffect@ apPostEffect)
Parameters
- apPostEffect (iPostEffect@) —
Returns:
- void
cGraphics_DestroyPostEffectComposite
void cGraphics_DestroyPostEffectComposite(cPostEffectComposite@ apComposite)
Parameters
- apComposite (cPostEffectComposite@) —
Returns:
- void
cGraphics_DestroyTexture
cGraphics_FindDepthStencilBuffer
iDepthStencilBuffer@ cGraphics_FindDepthStencilBuffer(const cVector2l &in avSize,
int alMinDepthBits,
int alMinStencilBits)
Parameters
- avSize (cVector2l) —
- alMinDepthBits (int) —
- alMinStencilBits (int) —
Returns:
- iDepthStencilBuffer@—
cGraphics_GetLowLevel
iLowLevelGraphics@ cGraphics_GetLowLevel()
Returns:
- iLowLevelGraphics@—
cGraphics_GetMaterialType
iMaterialType@ cGraphics_GetMaterialType(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- iMaterialType@—
cGraphics_GetRenderer
iRenderer@ cGraphics_GetRenderer(eRenderer aType)
Parameters
- aType (eRenderer) —
Returns:
- iRenderer@—
cGraphics_GetTempFrameBuffer
iFrameBuffer@ cGraphics_GetTempFrameBuffer(const cVector2l &in avSize,
ePixelFormat aPixelFormat,
int alIndex)
Parameters
- avSize (cVector2l) —
- aPixelFormat (ePixelFormat) —
- alIndex (int) —
Returns:
- iFrameBuffer@—
cGraphics_LoadHeightMapPackedRGB
cHeightMap@ cGraphics_LoadHeightMapPackedRGB(const tString &in asFileName)
Parameters
- asFileName (tString) —
Returns:
- cHeightMap@—
cGraphics_LoadHeightMapRaw
cGraphics_ReloadMaterials
void cGraphics_ReloadMaterials()
Returns:
- void
cGraphics_ReloadRendererData
void cGraphics_ReloadRendererData()
Returns:
- void