Project

General

Profile

SO3Engine
SCOLDynamicCubeMap.cpp File Reference

Go to the source code of this file.

Functions

int SO3DynamicCubeMapCreate (mmachine m)
 main include
 
int SO3DynamicCubeMapSetTargetMaterial (mmachine m)
 SO3DynamicCubeMapSetTargetMaterial : Set the material on wich the rendered texture will be setted. The cube map is automatically setted to enable when a valid material is passed.
 
int SO3DynamicCubeMapGetEnable (mmachine m)
 SO3DynamicCubeMapGetEnable : Get the enable state for the dynamic cube map.
 
int SO3DynamicCubeMapSetEnable (mmachine m)
 SO3DynamicCubeMapSetEnable : Set the Enable state for dynamic cube map.
 
int SO3DynamicCubeMapGetAutoUpdate (mmachine m)
 SO3DynamicCubeMapGetAutoUpdate : Get the auto update state (is the cube map update each frame?) for the dynamic cube map.
 
int SO3DynamicCubeMapSetAutoUpdate (mmachine m)
 SO3DynamicCubeMapSetAutoUpdate : Set the AutoUpdate state (refresh every frame) for dynamic cube map.
 
int SO3DynamicCubeMapGetTextureSize (mmachine m)
 SO3DynamicCubeMapGetTextureSize : Get the size of the dynamic cube map texture.
 
int SO3DynamicCubeMapSetTextureSize (mmachine m)
 SO3DynamicCubeMapSetTextureSize : Set the size of the dynamic cube map texture.
 
int SO3DynamicCubeMapUpdate (mmachine m)
 SO3DynamicCubeMapUpdate : manually update a dynamic cube map (in case autoUpdate is set to false);.
 
int SCOLloadDynamicCubeMap (mmachine m, cbmachine w)
 Load the SO3Engine DynamicCubeMap function.
 
int SCOLfreeDynamicCubeMap ()
 free the SO3Engine DynamicCubeMap function
 

Variables

NativeDefinition natSO3CubeMap []
 

Function Documentation

◆ SCOLfreeDynamicCubeMap()

int SCOLfreeDynamicCubeMap ( )

free the SO3Engine DynamicCubeMap function

Parameters
m: The VM

Definition at line 522 of file SCOLDynamicCubeMap.cpp.

◆ SCOLloadDynamicCubeMap()

int SCOLloadDynamicCubeMap ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine DynamicCubeMap function.

Parameters
m: The VM
w: The Callback VM

Definition at line 513 of file SCOLDynamicCubeMap.cpp.

Variable Documentation

◆ natSO3CubeMap

NativeDefinition natSO3CubeMap[]
Initial value:
= {
{ "SO3DynamicCubeMapCreate", 2, "fun [SO3_SCENE S] SO3_OBJECT", SO3DynamicCubeMapCreate },
{ "SO3DynamicCubeMapSetTargetMaterial", 5, "fun [SO3_OBJECT SO3_MATERIAL I I I] SO3_OBJECT", SO3DynamicCubeMapSetTargetMaterial },
{ "SO3DynamicCubeMapGetEnable", 1, "fun [SO3_OBJECT] I", SO3DynamicCubeMapGetEnable },
{ "SO3DynamicCubeMapSetEnable", 2, "fun [SO3_OBJECT I] I", SO3DynamicCubeMapSetEnable },
{ "SO3DynamicCubeMapGetTextureSize", 1, "fun [SO3_OBJECT] I", SO3DynamicCubeMapGetTextureSize },
{ "SO3DynamicCubeMapSetTextureSize", 2, "fun [SO3_OBJECT I] I", SO3DynamicCubeMapSetTextureSize },
{ "SO3DynamicCubeMapGetAutoUpdate", 1, "fun [SO3_OBJECT] I", SO3DynamicCubeMapGetAutoUpdate },
{ "SO3DynamicCubeMapSetAutoUpdate", 2, "fun [SO3_OBJECT I] I", SO3DynamicCubeMapSetAutoUpdate },
{ "SO3DynamicCubeMapUpdate", 1, "fun [SO3_OBJECT] I", SO3DynamicCubeMapUpdate }
}
int SO3DynamicCubeMapSetTargetMaterial(mmachine m)
SO3DynamicCubeMapSetTargetMaterial : Set the material on wich the rendered texture will be setted....
int SO3DynamicCubeMapUpdate(mmachine m)
SO3DynamicCubeMapUpdate : manually update a dynamic cube map (in case autoUpdate is set to false);.
int SO3DynamicCubeMapGetAutoUpdate(mmachine m)
SO3DynamicCubeMapGetAutoUpdate : Get the auto update state (is the cube map update each frame?...
int SO3DynamicCubeMapGetTextureSize(mmachine m)
SO3DynamicCubeMapGetTextureSize : Get the size of the dynamic cube map texture.
int SO3DynamicCubeMapCreate(mmachine m)
main include
int SO3DynamicCubeMapSetEnable(mmachine m)
SO3DynamicCubeMapSetEnable : Set the Enable state for dynamic cube map.
int SO3DynamicCubeMapSetTextureSize(mmachine m)
SO3DynamicCubeMapSetTextureSize : Set the size of the dynamic cube map texture.
int SO3DynamicCubeMapSetAutoUpdate(mmachine m)
SO3DynamicCubeMapSetAutoUpdate : Set the AutoUpdate state (refresh every frame) for dynamic cube map.
int SO3DynamicCubeMapGetEnable(mmachine m)
SO3DynamicCubeMapGetEnable : Get the enable state for the dynamic cube map.

Definition at line 495 of file SCOLDynamicCubeMap.cpp.