HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cResources
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 cResources_AddLanguageFile
- 2.2 cResources_AddResourceDir
- 2.3 cResources_ClearResourceDirs
- 2.4 cResources_ClearTranslations
- 2.5 cResources_CreateFontData
- 2.6 cResources_CreateGpuShader
- 2.7 cResources_CreateGpuShader
- 2.8 cResources_CreateImage
- 2.9 cResources_CreateMaterial
- 2.10 cResources_CreateMesh
- 2.11 cResources_CreateSoundData
- 2.12 cResources_CreateSoundEntityData
- 2.13 cResources_CreateTexture1D
- 2.14 cResources_CreateTexture2D
- 2.15 cResources_CreateTexture3D
- 2.16 cResources_CreateTextureCubeMap
- 2.17 cResources_CreateVideo
- 2.18 cResources_DestroyFontData
- 2.19 cResources_DestroyGpuShader
- 2.20 cResources_DestroyImage
- 2.21 cResources_DestroyMaterial
- 2.22 cResources_DestroyMesh
- 2.23 cResources_DestroySoundData
- 2.24 cResources_DestroySoundEntityData
- 2.25 cResources_DestroyTexture
- 2.26 cResources_DestroyUnusedParticleSystems
- 2.27 cResources_DestroyUnusedSoundData
- 2.28 cResources_DestroyVideo
- 2.29 cResources_DestroyXmlDocument
- 2.30 cResources_GetMaterialPhysicsName
- 2.31 cResources_GetMaterialTextureAnisotropy
- 2.32 cResources_GetMaterialTextureFilter
- 2.33 cResources_GetMaterialTextureSizeDownScaleLevel
- 2.34 cResources_LoadResourceDirsFile
- 2.35 cResources_LoadXmlDocument
- 2.36 cResources_PreloadParticleSystem
- 2.37 cResources_PreloadSoundEntityData
- 2.38 cResources_SetMaterialTextureAnisotropy
- 2.39 cResources_SetMaterialTextureFilter
- 2.40 cResources_SetMaterialTextureSizeDownScaleLevel
- 2.41 cResources_Translate
Summary
Function Detail
cResources_AddLanguageFile
bool cResources_AddLanguageFile(const tString &in asFilePath,
bool abAddResourceDirs)
Parameters
- asFilePath (tString) —
- abAddResourceDirs (bool) —
Returns:
- bool—
cResources_AddResourceDir
cResources_ClearResourceDirs
void cResources_ClearResourceDirs()
Returns:
- void
cResources_ClearTranslations
void cResources_ClearTranslations()
Returns:
- void
cResources_CreateFontData
iFontData@ cResources_CreateFontData(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- iFontData@—
cResources_CreateGpuShader
iGpuShader@ cResources_CreateGpuShader(const tString &in asName,
int alType,
cPrepParserVarContainer @apVarCont)
Parameters
- asName (tString) —
- alType (int) —
- @apVarCont (cPrepParserVarContainer) —
Returns:
- iGpuShader@—
cResources_CreateGpuShader
iGpuShader@ cResources_CreateGpuShader(const tString &in asName,
int alType)
Parameters
- asName (tString) —
- alType (int) —
Returns:
- iGpuShader@—
cResources_CreateImage
cFrameSubImage@ cResources_CreateImage(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cFrameSubImage@—
cResources_CreateMaterial
cMaterial@ cResources_CreateMaterial(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cMaterial@—
cResources_CreateMesh
cMesh@ cResources_CreateMesh(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cMesh@—
cResources_CreateSoundData
iSoundData@ cResources_CreateSoundData(const tString &in asName,
bool abStream,
bool abLooping,
bool ab3,
bool abNonBlockingLoad)
Parameters
- asName (tString) —
- abStream (bool) —
- abLooping (bool) —
- ab3 (bool) —
- abNonBlockingLoad (bool) —
Returns:
- iSoundData@—
cResources_CreateSoundEntityData
cSoundEntityData@ cResources_CreateSoundEntityData(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cSoundEntityData@—
cResources_CreateTexture1D
iTexture@ cResources_CreateTexture1D(const tString &in asName,
bool abUseMipMaps)
Parameters
- asName (tString) —
- abUseMipMaps (bool) —
Returns:
- iTexture@—
cResources_CreateTexture2D
iTexture@ cResources_CreateTexture2D(const tString &in asName,
bool abUseMipMaps)
Parameters
- asName (tString) —
- abUseMipMaps (bool) —
Returns:
- iTexture@—
cResources_CreateTexture3D
iTexture@ cResources_CreateTexture3D(const tString &in asName,
bool abUseMipMaps)
Parameters
- asName (tString) —
- abUseMipMaps (bool) —
Returns:
- iTexture@—
cResources_CreateTextureCubeMap
iTexture@ cResources_CreateTextureCubeMap(const tString &in asName,
bool abUseMipMaps)
Parameters
- asName (tString) —
- abUseMipMaps (bool) —
Returns:
- iTexture@—
cResources_CreateVideo
iVideoStream@ cResources_CreateVideo(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- iVideoStream@—
cResources_DestroyFontData
cResources_DestroyGpuShader
void cResources_DestroyGpuShader(iGpuShader @apShader)
Parameters
- @apShader (iGpuShader) —
Returns:
- void
cResources_DestroyImage
void cResources_DestroyImage(cFrameSubImage @apData)
Parameters
- @apData (cFrameSubImage) —
Returns:
- void
cResources_DestroyMaterial
void cResources_DestroyMaterial(cMaterial @apMaterial)
Parameters
- @apMaterial (cMaterial) —
Returns:
- void
cResources_DestroyMesh
cResources_DestroySoundData
void cResources_DestroySoundData(iSoundData@ apData)
Parameters
- apData (iSoundData@) —
Returns:
- void
cResources_DestroySoundEntityData
void cResources_DestroySoundEntityData(cSoundEntityData @apData)
Parameters
- @apData (cSoundEntityData) —
Returns:
- void
cResources_DestroyTexture
void cResources_DestroyTexture(iTexture @apTexture)
Parameters
- @apTexture (iTexture) —
Returns:
- void
cResources_DestroyUnusedParticleSystems
void cResources_DestroyUnusedParticleSystems(int alMaxToKeep)
Parameters
- alMaxToKeep (int) —
Returns:
- void
cResources_DestroyUnusedSoundData
void cResources_DestroyUnusedSoundData(int alMaxToKeep)
Parameters
- alMaxToKeep (int) —
Returns:
- void
cResources_DestroyVideo
void cResources_DestroyVideo(iVideoStream @apVideo)
Parameters
- @apVideo (iVideoStream) —
Returns:
- void
cResources_DestroyXmlDocument
void cResources_DestroyXmlDocument(iXmlDocument@ apDoc)
Parameters
- apDoc (iXmlDocument@) —
Returns:
- void
cResources_GetMaterialPhysicsName
tString cResources_GetMaterialPhysicsName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- tString—
cResources_GetMaterialTextureAnisotropy
float cResources_GetMaterialTextureAnisotropy()
Returns:
- float—
cResources_GetMaterialTextureFilter
int cResources_GetMaterialTextureFilter()
Returns:
- int—
cResources_GetMaterialTextureSizeDownScaleLevel
int cResources_GetMaterialTextureSizeDownScaleLevel()
Returns:
- int—
cResources_LoadResourceDirsFile
bool cResources_LoadResourceDirsFile(const tString &in asFile)
Parameters
- asFile (tString) —
Returns:
- bool—
cResources_LoadXmlDocument
iXmlDocument@ cResources_LoadXmlDocument(const tString &in asFile)
Parameters
- asFile (tString) —
Returns:
- iXmlDocument@—
cResources_PreloadParticleSystem
void cResources_PreloadParticleSystem(const tString &in asDataName)
Parameters
- asDataName (tString) —
Returns:
- void
cResources_PreloadSoundEntityData
void cResources_PreloadSoundEntityData(const tString &in asName,
bool abNonBlockingLoad)
Parameters
- asName (tString) —
- abNonBlockingLoad (bool) —
Returns:
- void
cResources_SetMaterialTextureAnisotropy
void cResources_SetMaterialTextureAnisotropy(float afX)
Parameters
- afX (float) —
Returns:
- void
cResources_SetMaterialTextureFilter
void cResources_SetMaterialTextureFilter(int alFilter)
Parameters
- alFilter (int) —
Returns:
- void
cResources_SetMaterialTextureSizeDownScaleLevel
void cResources_SetMaterialTextureSizeDownScaleLevel(int alLevel)
Parameters
- alLevel (int) —
Returns:
- void