Project

General

Profile

SO3Engine
SCOLRenderToTexture.cpp File Reference

Go to the source code of this file.

Functions

int SO3RenderToTextureCreate (mmachine m)
 main include
 
int SO3RenderToTextureSetTargetMaterial (mmachine m)
 SO3RenderToTextureSetTargetMaterial : Set the material on wich the rendered texture will be setted. The render to texture object is automatically setted to enable when a valid material is passed.
 
int SO3RenderToTextureGetEnable (mmachine m)
 SO3RenderToTextureGetEnable : Get the enable state for the render to texture object.
 
int SO3RenderToTextureSetEnable (mmachine m)
 SO3RenderToTextureSetEnable : Set the Enable state for render to texture object.
 
int SO3RenderToTextureGetAutoUpdate (mmachine m)
 SO3RenderToTextureGetAutoUpdate : Get the auto update state (is the render to texture object should be updated on every frame?) for the render to texture object.
 
int SO3RenderToTextureSetAutoUpdate (mmachine m)
 SO3RenderToTextureSetAutoUpdate : Set the AutoUpdate state (refresh every frame) for render to texture object.
 
int SO3RenderToTextureGetTextureSize (mmachine m)
 SO3RenderToTextureGetTextureSize : Get the size of the target texture.
 
int SO3RenderToTextureSetTextureSize (mmachine m)
 SO3RenderToTextureSetTextureSize : Set the size of the target texture.
 
int SO3RenderToTextureUpdate (mmachine m)
 SO3RenderToTextureUpdate : manually update a dynamic render to texture object (in case autoUpdate is set to false);.
 
int SO3RenderToTextureSetMaterialScheme (mmachine m)
 SO3RenderToTextureSetMaterialScheme : set the render to texture material scheme.
 
int SO3RenderToTextureAddCompositor (mmachine m)
 SO3RenderToTextureAddCompositor : Add a compositor on a given RenderToTexture.
 
int SO3RenderToTextureRemoveCompositor (mmachine m)
 SO3RenderToTextureRemoveCompositor : Remove a compositor from a given RenderToTexture.
 
int SO3RenderToTextureCompositorSetEnable (mmachine m)
 SO3RenderToTextureCompositorSetEnable : Set Compositor state on a given RenderToTexture.
 
int SO3RenderToTextureCompositorGetEnable (mmachine m)
 SO3RenderToTextureCompositorGetEnable : Get Compositor state on a given RenderToTexture.
 
int SCOLloadRenderToTexture (mmachine m, cbmachine w)
 Load the SO3Engine RenderToTexture function.
 
int SCOLfreeRenderToTexture ()
 free the SO3Engine RenderToTexture function
 

Variables

NativeDefinition natSO3Rtt []
 

Function Documentation

◆ SCOLfreeRenderToTexture()

int SCOLfreeRenderToTexture ( )

free the SO3Engine RenderToTexture function

Parameters
m: The VM

Definition at line 794 of file SCOLRenderToTexture.cpp.

◆ SCOLloadRenderToTexture()

int SCOLloadRenderToTexture ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine RenderToTexture function.

Parameters
m: The VM
w: The Callback VM

Definition at line 785 of file SCOLRenderToTexture.cpp.

Variable Documentation

◆ natSO3Rtt

NativeDefinition natSO3Rtt[]
Initial value:
= {
{ "SO3RenderToTextureCreate", 3, "fun [SO3_SCENE S SO3_OBJECT] SO3_OBJECT", SO3RenderToTextureCreate },
{ "SO3RenderToTextureSetTargetMaterial", 5, "fun [SO3_OBJECT SO3_MATERIAL I I I] SO3_OBJECT", SO3RenderToTextureSetTargetMaterial },
{ "SO3RenderToTextureGetEnable", 1, "fun [SO3_OBJECT] I", SO3RenderToTextureGetEnable },
{ "SO3RenderToTextureSetEnable", 2, "fun [SO3_OBJECT I] I", SO3RenderToTextureSetEnable },
{ "SO3RenderToTextureGetTextureSize", 1, "fun [SO3_OBJECT] I", SO3RenderToTextureGetTextureSize },
{ "SO3RenderToTextureSetTextureSize", 2, "fun [SO3_OBJECT I] I", SO3RenderToTextureSetTextureSize },
{ "SO3RenderToTextureGetAutoUpdate", 1, "fun [SO3_OBJECT] I", SO3RenderToTextureGetAutoUpdate },
{ "SO3RenderToTextureSetAutoUpdate", 2, "fun [SO3_OBJECT I] I", SO3RenderToTextureSetAutoUpdate },
{ "SO3RenderToTextureUpdate", 1, "fun [SO3_OBJECT] I", SO3RenderToTextureUpdate },
{ "SO3RenderToTextureSetMaterialScheme", 2, "fun [SO3_OBJECT S] I", SO3RenderToTextureSetMaterialScheme },
{ "SO3RenderToTextureAddCompositor", 3, "fun [SO3_OBJECT S S] I", SO3RenderToTextureAddCompositor },
{ "SO3RenderToTextureRemoveCompositor", 2, "fun [SO3_OBJECT S] I", SO3RenderToTextureRemoveCompositor },
{ "SO3RenderToTextureCompositorSetEnable", 3, "fun [SO3_OBJECT S I] I", SO3RenderToTextureCompositorSetEnable },
{ "SO3RenderToTextureCompositorGetEnable", 2, "fun [SO3_OBJECT S] I", SO3RenderToTextureCompositorGetEnable }
}
int SO3RenderToTextureRemoveCompositor(mmachine m)
SO3RenderToTextureRemoveCompositor : Remove a compositor from a given RenderToTexture.
int SO3RenderToTextureSetMaterialScheme(mmachine m)
SO3RenderToTextureSetMaterialScheme : set the render to texture material scheme.
int SO3RenderToTextureGetTextureSize(mmachine m)
SO3RenderToTextureGetTextureSize : Get the size of the target texture.
int SO3RenderToTextureSetTextureSize(mmachine m)
SO3RenderToTextureSetTextureSize : Set the size of the target texture.
int SO3RenderToTextureSetTargetMaterial(mmachine m)
SO3RenderToTextureSetTargetMaterial : Set the material on wich the rendered texture will be setted....
int SO3RenderToTextureSetEnable(mmachine m)
SO3RenderToTextureSetEnable : Set the Enable state for render to texture object.
int SO3RenderToTextureCreate(mmachine m)
main include
int SO3RenderToTextureUpdate(mmachine m)
SO3RenderToTextureUpdate : manually update a dynamic render to texture object (in case autoUpdate is ...
int SO3RenderToTextureCompositorGetEnable(mmachine m)
SO3RenderToTextureCompositorGetEnable : Get Compositor state on a given RenderToTexture.
int SO3RenderToTextureGetAutoUpdate(mmachine m)
SO3RenderToTextureGetAutoUpdate : Get the auto update state (is the render to texture object should b...
int SO3RenderToTextureCompositorSetEnable(mmachine m)
SO3RenderToTextureCompositorSetEnable : Set Compositor state on a given RenderToTexture.
int SO3RenderToTextureSetAutoUpdate(mmachine m)
SO3RenderToTextureSetAutoUpdate : Set the AutoUpdate state (refresh every frame) for render to textur...
int SO3RenderToTextureGetEnable(mmachine m)
SO3RenderToTextureGetEnable : Get the enable state for the render to texture object.
int SO3RenderToTextureAddCompositor(mmachine m)
SO3RenderToTextureAddCompositor : Add a compositor on a given RenderToTexture.

Definition at line 762 of file SCOLRenderToTexture.cpp.