SO3Engine
|
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 | SO3DynamicReflectionMapCreate (mmachine m) |
main include | |
int | SO3DynamicReflectionMapSetTargetMaterial (mmachine m) |
SO3DynamicReflectionMapSetTargetMaterial : Set the material on wich the rendered texture will be setted. The plane reflection map is automatically setted to enable when a valid material is passed. | |
int | SO3DynamicReflectionMapGetEnable (mmachine m) |
SO3DynamicReflectionMapGetEnable : Get the enable state for the dynamic reflection map. | |
int | SO3DynamicReflectionMapSetEnable (mmachine m) |
SO3DynamicReflectionMapSetEnable : Set the Enable state for dynamic reflection map. | |
int | SO3DynamicReflectionMapGetRevertClipPlane (mmachine m) |
SO3DynamicReflectionMapGetRevertClipPlane : Get the revert clip plane state (is the camera clip plane up or down?) for the dynamic reflection map. | |
int | SO3DynamicReflectionMapSetRevertClipPlane (mmachine m) |
SO3DynamicReflectionMapSetRevertClipPlane : Set the revert clip plane state for dynamic reflection map. | |
int | SO3DynamicReflectionMapGetTextureSize (mmachine m) |
SO3DynamicReflectionMapGetTextureSize : Get the size of the dynamic reflection map texture. | |
int | SO3DynamicReflectionMapSetTextureSize (mmachine m) |
SO3DynamicReflectionMapSetTextureSize : Set the size of the dynamic reflection map texture. | |
int | SO3FlashControlCreateOnMaterial (mmachine m) |
SO3FlashControlCreateOnMaterial : Set a texture flash on a material. | |
int | SO3MaterialCreate (mmachine m) |
main include | |
int | SO3MaterialDestroy (mmachine m) |
SO3MaterialDestroy : Destroy a material. | |
int | SO3MaterialGetName (mmachine m) |
SO3MaterialGetName : Return the material name. | |
int | SO3MaterialSetAmbient (mmachine m) |
SO3MaterialSetAmbient : defines ambient color of a material. | |
int | SO3MaterialSetAmbientByTechAndPass (mmachine m) |
SO3MaterialSetAmbientByTechAndPass : defines ambient color by technique and pass of a material. | |
int | SO3MaterialSetDiffuse (mmachine m) |
SO3MaterialSetDiffuse : defines diffuse color of a material. | |
int | SO3MaterialSetDiffuseByTechAndPass (mmachine m) |
SO3MaterialSetDiffuseByTechAndPass : defines diffuse color by technique and pass of a material. | |
int | SO3MaterialGetReceiveShadows (mmachine m) |
SO3MaterialGetReceiveShadows : Get the receive shadow state for material. | |
int | SO3MaterialSetSelfIllumination (mmachine m) |
SO3MaterialSetSelfIllumination : defines self illuminaton color of a material. | |
int | SO3MaterialSetSelfIlluminationByTechAndPass (mmachine m) |
SO3MaterialSetSelfIlluminationByTechAndPass : defines self illumination color by technique and pass of a material. | |
int | SO3MaterialSetSpecular (mmachine m) |
SO3MaterialSetSpecular : defines specular color of a material. | |
int | SO3MaterialSetSpecularByTechAndPass (mmachine m) |
SO3MaterialSetSpecularByTechAndPass : defines specular color by technique and pass of a material. | |
int | SO3MaterialSetShininess (mmachine m) |
SO3MaterialSetShininess : defines shininess value of a material. | |
int | SO3MaterialSetShininessByTechAndPass (mmachine m) |
SO3MaterialSetShininessByTechAndPass : defines shininess value by technique and pass of a material. | |
int | SO3MaterialGetDiffuseByTechAndPass (mmachine m) |
SO3MaterialGetDiffuseByTechAndPass : Get the diffuse color by Technique and Pass. | |
int | SO3MaterialGetAmbientByTechAndPass (mmachine m) |
SO3MaterialGetAmbientByTechAndPass : Get the ambient color by Technique and Pass. | |
int | SO3MaterialGetSpecularByTechAndPass (mmachine m) |
SO3MaterialGetSpecularByTechAndPass : Get the specular color by Technique and Pass. | |
int | SO3MaterialGetShininessByTechAndPass (mmachine m) |
SO3MaterialGetShininessByTechAndPass : Get the Shininess value by Technique and Pass. | |
int | SO3MaterialGetSelfIlluminationByTechAndPass (mmachine m) |
SO3MaterialGetSelfIlluminationByTechAndPass : Get the self illumination color by Technique and Pass. | |
int | SO3MaterialIsLighting (mmachine m) |
SO3MaterialIsLighting : defines light state for a material. | |
int | SO3MaterialNumberOfTechniques (mmachine m) |
SO3MaterialNumberOfTechniques : Get the number of techniques. | |
int | SO3MaterialNumberOfPassesByTechnique (mmachine m) |
SO3MaterialNumberOfPassesByTechnique : Get the number of passes by technique. | |
int | SO3MaterialNumberOfTexturesByTechniqueAndPass (mmachine m) |
SO3MaterialNumberOfTexturesByTechniqueAndPass : Get the number of textures by technique and pass. | |
int | SO3MaterialTechniqueGetNameByIndex (mmachine m) |
SO3MaterialTechniqueGetNameByIndex : return the name of a technique. | |
int | SO3MaterialTechniqueGetIndexByName (mmachine m) |
SO3MaterialTechniqueGetIndexByName : return the index of a technique by name. | |
int | SO3MaterialPassGetNameByIndex (mmachine m) |
SO3MaterialPassGetNameByIndex : return the name of a pass. | |
int | SO3MaterialPassGetIndexByName (mmachine m) |
SO3MaterialPassGetIndexByName : return the index of a pass by name. | |
int | SO3MaterialTextureUnitGetNameByIndex (mmachine m) |
SO3MaterialTextureUnitGetNameByIndex : return the name of a texture unit. | |
int | SO3MaterialTextureUnitGetIndexByName (mmachine m) |
SO3MaterialTextureUnitGetIndexByName : return the index of a Texture unit by name. | |
int | SO3MaterialSetReceiveShadows (mmachine m) |
SO3MaterialSetReceiveShadows : defines receive shadow state for a given material. | |
int | SO3MaterialSetTexture (mmachine m) |
SO3MaterialSetTexture : Set a texture on a material. | |
int | SO3MaterialGetTexture (mmachine m) |
SO3MaterialGetTexture : Get a texture from a material. | |
int | SO3MaterialSetTextureByType (mmachine m) |
SO3MaterialSetTextureByType : Set a texture on a material by type. | |
int | SO3MaterialRemoveTexture (mmachine m) |
SO3MaterialRemoveTexture : Remove a texture from a material. | |
int | SO3MaterialTextureUnitGetIndexByType (mmachine m) |
SO3MaterialTextureUnitGetIndexByType : Get a texture from a material by it's type. | |
int | SO3GetSceneTexture (mmachine m) |
SO3GetSceneTexture : Get a texture from a scene. | |
int | SO3TextureCreate (mmachine m) |
SO3TextureCreate : Create a texture unit. | |
int | SO3TextureDestroy (mmachine m) |
SO3TextureDestroy : Destroy a texture unit. | |
int | SO3TextureGetName (mmachine m) |
SO3TextureGetName : Return the name of a texture. | |
int | SO3TextureManagerGetMemoryUsage (mmachine m) |
SO3TextureManagerGetMemoryUsage : Return the memory usage of all textures in the scene. | |
int | SO3TextureBlit (mmachine m) |
SO3TextureBlit : Blit a ObjBitmap on a texture. | |
int | SO3TextureBlitAlpha (mmachine m) |
SO3TextureBlitAlpha : Blit a AlphaBitmap on a texture. | |
int | SO3MaterialSetTextureUScroll (mmachine m) |
SO3MaterialSetTextureUScroll : Sets the translation offset of the texture, ie scrolls the texture, for the U value. | |
int | SO3MaterialGetTextureUScroll (mmachine m) |
SO3MaterialGetTextureUScroll : Gets the translation offset of the texture, ie scrolls the texture, for the U value. | |
int | SO3MaterialSetTextureVScroll (mmachine m) |
SO3MaterialSetTextureVScroll : Sets the translation offset of the texture, ie scrolls the texture, for the V value. | |
int | SO3MaterialGetTextureVScroll (mmachine m) |
SO3MaterialGetTextureVScroll : Gets the translation offset of the texture, ie scrolls the texture, for the V value. | |
int | SO3MaterialSetTextureUScale (mmachine m) |
SO3MaterialSetTextureUScale : Sets the scale value of the texture, for the U value. | |
int | SO3MaterialGetTextureUScale (mmachine m) |
SO3MaterialGetTextureUScale : Gets the scale of the texture, for the U value. | |
int | SO3MaterialSetTextureVScale (mmachine m) |
SO3MaterialSetTextureVScale : Sets the scale of the texture, for the V value. | |
int | SO3MaterialGetTextureVScale (mmachine m) |
SO3MaterialGetTextureVScale : Gets the scale of the texture, for the V value. | |
int | SO3MaterialSetTextureRotate (mmachine m) |
SO3MaterialSetTextureRotate : Rotate the texture. | |
int | SO3MaterialGetTextureRotate (mmachine m) |
SO3MaterialGetTextureRotate : Gets the rotation of the texture. | |
int | SO3MaterialSetTextureBlendFactor (mmachine m) |
SO3MaterialSetTextureBlendFactor : Set the texture blend factor (used for reflection map) | |
int | SO3MaterialGetTextureBlendFactor (mmachine m) |
SO3MaterialGetTextureBlendFactor : Gets the texture blend factor. | |
int | SO3MaterialSetTextureRotateAnimation (mmachine m) |
SO3MaterialSetTextureRotateAnimation : Set a rotate animation on the texture. | |
int | SO3MaterialSetTextureScrollAnimation (mmachine m) |
SO3MaterialSetTextureScrollAnimation : Set a scroll animation on the texture. | |
int | SO3MaterialGetPassVertexProgramParameters (mmachine m) |
SO3MaterialGetPassVertexProgramParameters : Retrieve all the vertex program parameters than can be setted. | |
int | SO3MaterialGetPassFragmentProgramParameters (mmachine m) |
SO3MaterialGetPassFragmentProgramParameters : Retrieve all the fragment program parameters than can be setted. | |
int | SO3MaterialSetPassAlphaRejection (mmachine m) |
SO3MaterialSetPassAlphaRejection : Sets alpha rejection parameters. | |
int | SO3MaterialGetPassAlphaRejectionFunction (mmachine m) |
SO3MaterialGetPassAlphaRejectionFunction : Retrieve the alpha rejection function. | |
int | SO3MaterialGetPassAlphaRejectionValue (mmachine m) |
SO3MaterialGetPassAlphaRejectionValue : Retrieve the alpha rejection value. | |
int | SO3MaterialGetPassAlphaToCoverage (mmachine m) |
SO3MaterialGetPassAlphaToCoverage : Retrieve if the pass use alpha to coverage method. | |
int | SO3MaterialGetPassDepthCheckEnabled (mmachine m) |
SO3MaterialGetPassDepthCheckEnabled : Retrieve if the pass use depth checking to validate fragments. | |
int | SO3MaterialSetPassDepthCheckEnabled (mmachine m) |
SO3MaterialSetPassDepthCheckEnabled : Set if the pass must check depth to validate fragments. | |
int | SO3MaterialGetPassDepthWriteEnabled (mmachine m) |
SO3MaterialGetPassDepthWriteEnabled : Retrieve if the pass use depth write when a fragment is validated (does the fragment depth is written to depth buffer). | |
int | SO3MaterialSetPassDepthWriteEnabled (mmachine m) |
SO3MaterialSetPassDepthWriteEnabled : Set if the pass must write a validated fragment depth information to depth buffer. | |
int | SO3MaterialGetPassDepthFunction (mmachine m) |
SO3MaterialGetPassDepthFunction : Retrieve the function used to compare a fragment depth to depth buffer value. | |
int | SO3MaterialSetPassDepthFunction (mmachine m) |
SO3MaterialSetPassDepthFunction : Sets the compare function to use to compare a fragment depth with depth buffer value. | |
int | SO3MaterialGetPassColourWriteEnabled (mmachine m) |
SO3MaterialGetPassColourWriteEnabled : Retrieve if the pass use colour write when a fragment is validated (does the fragment depth is written to depth buffer). | |
int | SO3MaterialSetPassColourWriteEnabled (mmachine m) |
SO3MaterialSetPassColourWriteEnabled : Set if the pass must write the colour. | |
int | SO3MaterialGetPassSourceBlendFactor (mmachine m) |
SO3MaterialGetPassSourceBlendFactor : Retrieve pass source blend factor. | |
int | SO3MaterialGetPassDestBlendFactor (mmachine m) |
SO3MaterialGetPassDestBlendFactor : Retrieve pass destination blend factor. | |
int | SO3MaterialGetPassSourceBlendFactorAlpha (mmachine m) |
SO3MaterialGetPassSourceBlendFactorAlpha : Retrieve pass source blend factor for alpha. | |
int | SO3MaterialGetPassDestBlendFactorAlpha (mmachine m) |
SO3MaterialGetPassDestBlendFactorAlpha : Retrieve pass destination blend factor for alpha. | |
int | SO3MaterialSetPassSceneBlending (mmachine m) |
SO3MaterialSetPassSceneBlending : Sets pass scene blending. | |
int | SO3MaterialGetPassSceneBlendingOperation (mmachine m) |
SO3MaterialGetPassSceneBlendingOperation : Retrieve pass scene blending operation. | |
int | SO3MaterialGetPassSceneBlendingOperationAlpha (mmachine m) |
SO3MaterialGetPassSceneBlendingOperationAlpha : Retrieve pass scene blending operation for alpha. | |
int | SO3MaterialSetPassSceneBlendingOperation (mmachine m) |
SO3MaterialSetPassSceneBlendingOperation : Sets pass scene blending operation. | |
int | SO3MaterialSetPassCullingEnable (mmachine m) |
SO3MaterialSetPassCullingEnable : Sets pass culling state. | |
int | SO3MaterialGetPassCullingEnable (mmachine m) |
SO3MaterialGetPassCullingEnable : Gets pass culling state. | |
int | SO3MaterialSetPassUseVertexColor (mmachine m) |
SO3MaterialSetPassUseVertexColor : Sets pass vertex color state. | |
int | SO3MaterialGetPassUseVertexColor (mmachine m) |
SO3MaterialGetPassUseVertexColor : Gets pass vertex color state. | |
int | SO3MaterialAddTechnique (mmachine m) |
SO3MaterialAddTechnique : Add a technique on a material. | |
int | SO3MaterialRemoveTechnique (mmachine m) |
SO3MaterialRemoveTechnique : Remove a technique on a material. | |
int | SO3MaterialSetTechniqueSchemeName (mmachine m) |
SO3MaterialSetTechniqueSchemeName : Set a technique scheme name on a material. | |
int | SO3MaterialAddPass (mmachine m) |
SO3MaterialAddPass : Add a pass on a material technique. | |
int | SO3MaterialRemovePass (mmachine m) |
SO3MaterialRemovePass : Remove a pass on a material technique. | |
int | SO3MaterialSetPassPolygonMode (mmachine m) |
SO3MaterialSetPassPolygonMode : Sets pass polygon mode. | |
int | SO3MaterialGetPassPolygonMode (mmachine m) |
SO3MaterialGetPassPolygonMode : Get pass polygon mode. | |
int | SO3MaterialSetPassPointSize (mmachine m) |
SO3MaterialSetPassPointSize : Sets pass point size. | |
int | SO3MaterialGetPassPointSize (mmachine m) |
SO3MaterialGetPassPointSize : Get pass point size. | |
int | SO3MaterialSetPassLighting (mmachine m) |
SO3MaterialSetPassLighting : Sets pass lighting state. | |
int | SO3MaterialGetPassLighting (mmachine m) |
SO3MaterialGetPassLighting : Get pass lighting state. | |
int | SO3MaterialSetIgnoreSlicePlane (mmachine m) |
SO3MaterialSetIgnoreSlicePlane : Set the material ignore slice plane state. | |
int | SO3MaterialExport (mmachine m) |
SO3MaterialExport : Write a material script to a file. | |
int | SO3MaterialGetScriptPath (mmachine m) |
SO3MaterialGetScriptPath : Gets the material script path. | |
int | SO3MaterialCountInScript (mmachine m) |
SO3MaterialCountInScript : Gets the number of materials in a material script. | |
int | SO3MaterialRewriteScript (mmachine m) |
SO3MaterialRewriteScript : Rewrite a material script (usefull to remove deleted materials) | |
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 | 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. | |
Scol functions definition
int SO3DynamicCubeMapCreate | ( | mmachine | m | ) |
main include
SO3DynamicCubeMapCreate : Create a new dynamic cube map
Prototype: fun [SO3_SCENE S] SO3_OBJECT
SO3_SCENE | : current scene |
S | : given name for the new dynamic cube map |
Definition at line 51 of file SCOLDynamicCubeMap.cpp.
int SO3DynamicCubeMapGetAutoUpdate | ( | mmachine | m | ) |
SO3DynamicCubeMapGetAutoUpdate : Get the auto update state (is the cube map update each frame?) for the dynamic cube map.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 279 of file SCOLDynamicCubeMap.cpp.
int SO3DynamicCubeMapGetEnable | ( | mmachine | m | ) |
SO3DynamicCubeMapGetEnable : Get the enable state for the dynamic cube map.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 188 of file SCOLDynamicCubeMap.cpp.
int SO3DynamicCubeMapGetTextureSize | ( | mmachine | m | ) |
SO3DynamicCubeMapGetTextureSize : Get the size of the dynamic cube map texture.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 371 of file SCOLDynamicCubeMap.cpp.
int SO3DynamicCubeMapSetAutoUpdate | ( | mmachine | m | ) |
SO3DynamicCubeMapSetAutoUpdate : Set the AutoUpdate state (refresh every frame) for dynamic cube map.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current node |
I | : bool for enable state |
Definition at line 324 of file SCOLDynamicCubeMap.cpp.
int SO3DynamicCubeMapSetEnable | ( | mmachine | m | ) |
SO3DynamicCubeMapSetEnable : Set the Enable state for dynamic cube map.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current node |
I | : bool for enable state |
Definition at line 233 of file SCOLDynamicCubeMap.cpp.
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.
Prototype: fun [SO3_OBJECT SO3_MATERIAL I I I] SO3_OBJECT
SO3_OBJECT | |
SO3_MATERIAL | : |
I | : Technique of the material where to render the cubeMap. |
I | : Pass of the material where to render the cubeMap. |
I | : Texture unit of the material where to render the cubeMap. |
Definition at line 120 of file SCOLDynamicCubeMap.cpp.
int SO3DynamicCubeMapSetTextureSize | ( | mmachine | m | ) |
SO3DynamicCubeMapSetTextureSize : Set the size of the dynamic cube map texture.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current node |
I | : bool for enable state |
Definition at line 411 of file SCOLDynamicCubeMap.cpp.
int SO3DynamicCubeMapUpdate | ( | mmachine | m | ) |
SO3DynamicCubeMapUpdate : manually update a dynamic cube map (in case autoUpdate is set to false);.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 461 of file SCOLDynamicCubeMap.cpp.
int SO3DynamicReflectionMapCreate | ( | mmachine | m | ) |
main include
SO3DynamicReflectionMapCreate : Create a new dynamic plane reflection map
Prototype: fun [SO3_SCENE SO3_VIEWPORT S] SO3_OBJECT
SO3_SCENE | : current scene |
SO3_VIEWPORT | : viewport for reflection calculation |
S | : given name for the new dynamic plane reflection map |
Definition at line 52 of file SCOLDynamicReflectionMap.cpp.
int SO3DynamicReflectionMapGetEnable | ( | mmachine | m | ) |
SO3DynamicReflectionMapGetEnable : Get the enable state for the dynamic reflection map.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 198 of file SCOLDynamicReflectionMap.cpp.
int SO3DynamicReflectionMapGetRevertClipPlane | ( | mmachine | m | ) |
SO3DynamicReflectionMapGetRevertClipPlane : Get the revert clip plane state (is the camera clip plane up or down?) for the dynamic reflection map.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 289 of file SCOLDynamicReflectionMap.cpp.
int SO3DynamicReflectionMapGetTextureSize | ( | mmachine | m | ) |
SO3DynamicReflectionMapGetTextureSize : Get the size of the dynamic reflection map texture.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 381 of file SCOLDynamicReflectionMap.cpp.
int SO3DynamicReflectionMapSetEnable | ( | mmachine | m | ) |
SO3DynamicReflectionMapSetEnable : Set the Enable state for dynamic reflection map.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current node |
I | : bool for enable state |
Definition at line 243 of file SCOLDynamicReflectionMap.cpp.
int SO3DynamicReflectionMapSetRevertClipPlane | ( | mmachine | m | ) |
SO3DynamicReflectionMapSetRevertClipPlane : Set the revert clip plane state for dynamic reflection map.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current node |
I | : bool, 1 to revert the clip plane -Y |
Definition at line 334 of file SCOLDynamicReflectionMap.cpp.
int SO3DynamicReflectionMapSetTargetMaterial | ( | mmachine | m | ) |
SO3DynamicReflectionMapSetTargetMaterial : Set the material on wich the rendered texture will be setted. The plane reflection map is automatically setted to enable when a valid material is passed.
Prototype: fun [SO3_OBJECT SO3_MATERIAL I I I] SO3_OBJECT
SO3_OBJECT | |
SO3_MATERIAL | : |
I | : Technique of the material where to render the reflection map. |
I | : Pass of the material where to render the reflection map. |
I | : Texture unit of the material where to render the reflection map. |
Definition at line 130 of file SCOLDynamicReflectionMap.cpp.
int SO3DynamicReflectionMapSetTextureSize | ( | mmachine | m | ) |
SO3DynamicReflectionMapSetTextureSize : Set the size of the dynamic reflection map texture.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current node |
I | : bool for enable state |
Definition at line 421 of file SCOLDynamicReflectionMap.cpp.
int SO3FlashControlCreateOnMaterial | ( | mmachine | m | ) |
SO3FlashControlCreateOnMaterial : Set a texture flash on a material.
Prototype: fun [SO3_SCENE SO3_MATERIAL S I I I I I] SO3_WIDGET
SO3_SCENE | : current scene |
SO3_MATERIAL | : current material |
S | : new Name |
I | : width |
I | : height |
I | : given technique |
I | : given pass |
I | : index of the texture |
Definition at line 277 of file SCOLFlashControl.cpp.
int SO3GetSceneTexture | ( | mmachine | m | ) |
SO3GetSceneTexture : Get a texture from a scene.
Prototype: fun [SO3_SCENE S S] SO3_TEXTURE
SO3_MATERIAL | : current material |
S | : resource group |
S | : texture name |
Definition at line 2177 of file SCOLMaterial.cpp.
int SO3MaterialAddPass | ( | mmachine | m | ) |
SO3MaterialAddPass : Add a pass on a material technique.
Prototype: fun [SO3_MATERIAL] I
SO3_MATERIAL | : Target material. |
I | : Technique index. |
Definition at line 5673 of file SCOLMaterial.cpp.
int SO3MaterialAddTechnique | ( | mmachine | m | ) |
SO3MaterialAddTechnique : Add a technique on a material.
Prototype: fun [SO3_MATERIAL] I
SO3_MATERIAL | : Target material. |
Definition at line 5527 of file SCOLMaterial.cpp.
int SO3MaterialCountInScript | ( | mmachine | m | ) |
SO3MaterialCountInScript : Gets the number of materials in a material script.
Prototype: fun [P] I
P | : material script path |
Definition at line 6317 of file SCOLMaterial.cpp.
int SO3MaterialCreate | ( | mmachine | m | ) |
main include
SO3MaterialCreate : Create a new material
Prototype: fun [SO3_SCENE S S] SO3_MATERIAL
SO3_SCENE | : current scene |
S | : given name for the new material |
S | : group name |
Definition at line 67 of file SCOLMaterial.cpp.
int SO3MaterialDestroy | ( | mmachine | m | ) |
SO3MaterialDestroy : Destroy a material.
Prototype: fun [SO3_MATERIAL] I
SO3_MATERIAL | : current material |
Definition at line 132 of file SCOLMaterial.cpp.
int SO3MaterialExport | ( | mmachine | m | ) |
SO3MaterialExport : Write a material script to a file.
Prototype: fun [SO3_MATERIAL P] I
SO3_MATERIAL | : Target material. |
P | : The file path to the material script file. It can be nil, in that case the material is written in it's original file source |
Definition at line 6222 of file SCOLMaterial.cpp.
int SO3MaterialGetAmbientByTechAndPass | ( | mmachine | m | ) |
SO3MaterialGetAmbientByTechAndPass : Get the ambient color by Technique and Pass.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
Definition at line 856 of file SCOLMaterial.cpp.
int SO3MaterialGetDiffuseByTechAndPass | ( | mmachine | m | ) |
SO3MaterialGetDiffuseByTechAndPass : Get the diffuse color by Technique and Pass.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
Definition at line 790 of file SCOLMaterial.cpp.
int SO3MaterialGetName | ( | mmachine | m | ) |
SO3MaterialGetName : Return the material name.
Prototype: fun [SO3_MATERIAL] S
SO3_MATERIAL | : current material |
Definition at line 158 of file SCOLMaterial.cpp.
int SO3MaterialGetPassAlphaRejectionFunction | ( | mmachine | m | ) |
SO3MaterialGetPassAlphaRejectionFunction : Retrieve the alpha rejection function.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4031 of file SCOLMaterial.cpp.
int SO3MaterialGetPassAlphaRejectionValue | ( | mmachine | m | ) |
SO3MaterialGetPassAlphaRejectionValue : Retrieve the alpha rejection value.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4092 of file SCOLMaterial.cpp.
int SO3MaterialGetPassAlphaToCoverage | ( | mmachine | m | ) |
SO3MaterialGetPassAlphaToCoverage : Retrieve if the pass use alpha to coverage method.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4153 of file SCOLMaterial.cpp.
int SO3MaterialGetPassColourWriteEnabled | ( | mmachine | m | ) |
SO3MaterialGetPassColourWriteEnabled : Retrieve if the pass use colour write when a fragment is validated (does the fragment depth is written to depth buffer).
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4595 of file SCOLMaterial.cpp.
int SO3MaterialGetPassCullingEnable | ( | mmachine | m | ) |
SO3MaterialGetPassCullingEnable : Gets pass culling state.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 5340 of file SCOLMaterial.cpp.
int SO3MaterialGetPassDepthCheckEnabled | ( | mmachine | m | ) |
SO3MaterialGetPassDepthCheckEnabled : Retrieve if the pass use depth checking to validate fragments.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4214 of file SCOLMaterial.cpp.
int SO3MaterialGetPassDepthFunction | ( | mmachine | m | ) |
SO3MaterialGetPassDepthFunction : Retrieve the function used to compare a fragment depth to depth buffer value.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4468 of file SCOLMaterial.cpp.
int SO3MaterialGetPassDepthWriteEnabled | ( | mmachine | m | ) |
SO3MaterialGetPassDepthWriteEnabled : Retrieve if the pass use depth write when a fragment is validated (does the fragment depth is written to depth buffer).
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4341 of file SCOLMaterial.cpp.
int SO3MaterialGetPassDestBlendFactor | ( | mmachine | m | ) |
SO3MaterialGetPassDestBlendFactor : Retrieve pass destination blend factor.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4783 of file SCOLMaterial.cpp.
int SO3MaterialGetPassDestBlendFactorAlpha | ( | mmachine | m | ) |
SO3MaterialGetPassDestBlendFactorAlpha : Retrieve pass destination blend factor for alpha.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4905 of file SCOLMaterial.cpp.
int SO3MaterialGetPassFragmentProgramParameters | ( | mmachine | m | ) |
SO3MaterialGetPassFragmentProgramParameters : Retrieve all the fragment program parameters than can be setted.
Prototype: fun [SO3_MATERIAL I I] [[S I] r1]
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 3731 of file SCOLMaterial.cpp.
int SO3MaterialGetPassLighting | ( | mmachine | m | ) |
SO3MaterialGetPassLighting : Get pass lighting state.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 6109 of file SCOLMaterial.cpp.
int SO3MaterialGetPassPointSize | ( | mmachine | m | ) |
SO3MaterialGetPassPointSize : Get pass point size.
Prototype: fun [SO3_MATERIAL I I I] F
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 5975 of file SCOLMaterial.cpp.
int SO3MaterialGetPassPolygonMode | ( | mmachine | m | ) |
SO3MaterialGetPassPolygonMode : Get pass polygon mode.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 5842 of file SCOLMaterial.cpp.
int SO3MaterialGetPassSceneBlendingOperation | ( | mmachine | m | ) |
SO3MaterialGetPassSceneBlendingOperation : Retrieve pass scene blending operation.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 5071 of file SCOLMaterial.cpp.
int SO3MaterialGetPassSceneBlendingOperationAlpha | ( | mmachine | m | ) |
SO3MaterialGetPassSceneBlendingOperationAlpha : Retrieve pass scene blending operation for alpha.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 5132 of file SCOLMaterial.cpp.
int SO3MaterialGetPassSourceBlendFactor | ( | mmachine | m | ) |
SO3MaterialGetPassSourceBlendFactor : Retrieve pass source blend factor.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4722 of file SCOLMaterial.cpp.
int SO3MaterialGetPassSourceBlendFactorAlpha | ( | mmachine | m | ) |
SO3MaterialGetPassSourceBlendFactorAlpha : Retrieve pass source blend factor for alpha.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 4844 of file SCOLMaterial.cpp.
int SO3MaterialGetPassUseVertexColor | ( | mmachine | m | ) |
SO3MaterialGetPassUseVertexColor : Gets pass vertex color state.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 5468 of file SCOLMaterial.cpp.
int SO3MaterialGetPassVertexProgramParameters | ( | mmachine | m | ) |
SO3MaterialGetPassVertexProgramParameters : Retrieve all the vertex program parameters than can be setted.
Prototype: fun [SO3_MATERIAL I I] [[S I] r1]
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
Definition at line 3520 of file SCOLMaterial.cpp.
int SO3MaterialGetReceiveShadows | ( | mmachine | m | ) |
SO3MaterialGetReceiveShadows : Get the receive shadow state for material.
Prototype: fun [SO3_MATERIAL] I
SO3_MATERIAL | : current material |
Definition at line 417 of file SCOLMaterial.cpp.
int SO3MaterialGetScriptPath | ( | mmachine | m | ) |
SO3MaterialGetScriptPath : Gets the material script path.
Prototype: fun [SO3_MATERIAL] P
SO3_MATERIAL | : Target material. |
Definition at line 6273 of file SCOLMaterial.cpp.
int SO3MaterialGetSelfIlluminationByTechAndPass | ( | mmachine | m | ) |
SO3MaterialGetSelfIlluminationByTechAndPass : Get the self illumination color by Technique and Pass.
Prototype: fun [SO3_MATERIAL I I] F
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
Definition at line 1053 of file SCOLMaterial.cpp.
int SO3MaterialGetShininessByTechAndPass | ( | mmachine | m | ) |
SO3MaterialGetShininessByTechAndPass : Get the Shininess value by Technique and Pass.
Prototype: fun [SO3_MATERIAL I I] F
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
Definition at line 988 of file SCOLMaterial.cpp.
int SO3MaterialGetSpecularByTechAndPass | ( | mmachine | m | ) |
SO3MaterialGetSpecularByTechAndPass : Get the specular color by Technique and Pass.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
Definition at line 922 of file SCOLMaterial.cpp.
int SO3MaterialGetTexture | ( | mmachine | m | ) |
SO3MaterialGetTexture : Get a texture from a material.
Prototype: fun [SO3_MATERIAL I I I] SO3_TEXTURE
SO3_MATERIAL | : current material |
I | : given technique |
I | : given pass |
I | : index of the texture |
Definition at line 1847 of file SCOLMaterial.cpp.
int SO3MaterialGetTextureBlendFactor | ( | mmachine | m | ) |
SO3MaterialGetTextureBlendFactor : Gets the texture blend factor.
Prototype: fun [SO3_MATERIAL I I I] F
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
Definition at line 3320 of file SCOLMaterial.cpp.
int SO3MaterialGetTextureRotate | ( | mmachine | m | ) |
SO3MaterialGetTextureRotate : Gets the rotation of the texture.
Prototype: fun [SO3_MATERIAL I I I] F
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
Definition at line 3186 of file SCOLMaterial.cpp.
int SO3MaterialGetTextureUScale | ( | mmachine | m | ) |
SO3MaterialGetTextureUScale : Gets the scale of the texture, for the U value.
Prototype: fun [SO3_MATERIAL I I I] F
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
return F : U scale value, NIL if error
Definition at line 2923 of file SCOLMaterial.cpp.
int SO3MaterialGetTextureUScroll | ( | mmachine | m | ) |
SO3MaterialGetTextureUScroll : Gets the translation offset of the texture, ie scrolls the texture, for the U value.
Prototype: fun [SO3_MATERIAL I I I] F
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
return F : U Scroll value, NIL if error
Definition at line 2659 of file SCOLMaterial.cpp.
int SO3MaterialGetTextureVScale | ( | mmachine | m | ) |
SO3MaterialGetTextureVScale : Gets the scale of the texture, for the V value.
Prototype: fun [SO3_MATERIAL I I I] F
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
return F : V scale value, NIL if error
Definition at line 3055 of file SCOLMaterial.cpp.
int SO3MaterialGetTextureVScroll | ( | mmachine | m | ) |
SO3MaterialGetTextureVScroll : Gets the translation offset of the texture, ie scrolls the texture, for the V value.
Prototype: fun [SO3_MATERIAL I I I] F
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
return F : V Scroll value, NIL if error
Definition at line 2791 of file SCOLMaterial.cpp.
int SO3MaterialIsLighting | ( | mmachine | m | ) |
SO3MaterialIsLighting : defines light state for a material.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : current material |
I | : Light state (1 enable, 0 disable) |
Definition at line 1118 of file SCOLMaterial.cpp.
int SO3MaterialNumberOfPassesByTechnique | ( | mmachine | m | ) |
SO3MaterialNumberOfPassesByTechnique : Get the number of passes by technique.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : current material |
I | : techniques index |
Definition at line 1201 of file SCOLMaterial.cpp.
int SO3MaterialNumberOfTechniques | ( | mmachine | m | ) |
SO3MaterialNumberOfTechniques : Get the number of techniques.
Prototype: fun [SO3_MATERIAL] I
SO3_MATERIAL | : current material |
Definition at line 1158 of file SCOLMaterial.cpp.
int SO3MaterialNumberOfTexturesByTechniqueAndPass | ( | mmachine | m | ) |
SO3MaterialNumberOfTexturesByTechniqueAndPass : Get the number of textures by technique and pass.
Prototype: fun [SO3_MATERIAL I I] I
SO3_MATERIAL | : current material |
I | : techniques index |
I | : pass index |
Definition at line 1266 of file SCOLMaterial.cpp.
int SO3MaterialPassGetIndexByName | ( | mmachine | m | ) |
SO3MaterialPassGetIndexByName : return the index of a pass by name.
Prototype: fun [SO3_MATERIAL I S] I
SO3_MATERIAL | : current material |
I | : technique index |
S | : pass name |
Definition at line 1498 of file SCOLMaterial.cpp.
int SO3MaterialPassGetNameByIndex | ( | mmachine | m | ) |
SO3MaterialPassGetNameByIndex : return the name of a pass.
Prototype: fun [SO3_MATERIAL I I] S
SO3_MATERIAL | : current material |
I | : technique index |
I | : pass index |
Definition at line 1432 of file SCOLMaterial.cpp.
int SO3MaterialRemovePass | ( | mmachine | m | ) |
SO3MaterialRemovePass : Remove a pass on a material technique.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : Target material. |
I | : Technique index. |
I | : Pass index. |
Definition at line 5722 of file SCOLMaterial.cpp.
int SO3MaterialRemoveTechnique | ( | mmachine | m | ) |
SO3MaterialRemoveTechnique : Remove a technique on a material.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : Target material. |
I | : Technique index. |
Definition at line 5572 of file SCOLMaterial.cpp.
int SO3MaterialRemoveTexture | ( | mmachine | m | ) |
SO3MaterialRemoveTexture : Remove a texture from a material.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : current material |
I | : given technique |
I | : given pass |
I | : index of the texture |
Definition at line 2023 of file SCOLMaterial.cpp.
int SO3MaterialRewriteScript | ( | mmachine | m | ) |
SO3MaterialRewriteScript : Rewrite a material script (usefull to remove deleted materials)
Prototype: fun [P] I
P | : material script path |
Definition at line 6358 of file SCOLMaterial.cpp.
int SO3MaterialSetAmbient | ( | mmachine | m | ) |
SO3MaterialSetAmbient : defines ambient color of a material.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : current material |
I | : given color (rgba) |
Definition at line 188 of file SCOLMaterial.cpp.
int SO3MaterialSetAmbientByTechAndPass | ( | mmachine | m | ) |
SO3MaterialSetAmbientByTechAndPass : defines ambient color by technique and pass of a material.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
I | : given color (rgba) |
Definition at line 231 of file SCOLMaterial.cpp.
int SO3MaterialSetDiffuse | ( | mmachine | m | ) |
SO3MaterialSetDiffuse : defines diffuse color of a material.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : current material |
I | : given color (rgba) |
Definition at line 304 of file SCOLMaterial.cpp.
int SO3MaterialSetDiffuseByTechAndPass | ( | mmachine | m | ) |
SO3MaterialSetDiffuseByTechAndPass : defines diffuse color by technique and pass of a material.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
I | : given color (rgba) |
Definition at line 347 of file SCOLMaterial.cpp.
int SO3MaterialSetIgnoreSlicePlane | ( | mmachine | m | ) |
SO3MaterialSetIgnoreSlicePlane : Set the material ignore slice plane state.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : Target material. |
I | : new state |
Definition at line 6172 of file SCOLMaterial.cpp.
int SO3MaterialSetPassAlphaRejection | ( | mmachine | m | ) |
SO3MaterialSetPassAlphaRejection : Sets alpha rejection parameters.
Prototype: fun [SO3_MATERIAL I I I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Alpha rejection function |
I | : Alpha rejection value (between 0 and 128) |
I | : 1 to use Alpha to Coverage, 0 to not use it. |
Definition at line 3945 of file SCOLMaterial.cpp.
int SO3MaterialSetPassColourWriteEnabled | ( | mmachine | m | ) |
SO3MaterialSetPassColourWriteEnabled : Set if the pass must write the colour.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : 1 to enable colour write, 0 to disable |
Definition at line 4657 of file SCOLMaterial.cpp.
int SO3MaterialSetPassCullingEnable | ( | mmachine | m | ) |
SO3MaterialSetPassCullingEnable : Sets pass culling state.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : 1 to enable culling 0 to disable |
Definition at line 5275 of file SCOLMaterial.cpp.
int SO3MaterialSetPassDepthCheckEnabled | ( | mmachine | m | ) |
SO3MaterialSetPassDepthCheckEnabled : Set if the pass must check depth to validate fragments.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : 1 to enable depth check, 0 to disable |
Definition at line 4276 of file SCOLMaterial.cpp.
int SO3MaterialSetPassDepthFunction | ( | mmachine | m | ) |
SO3MaterialSetPassDepthFunction : Sets the compare function to use to compare a fragment depth with depth buffer value.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Compare function to use. |
Definition at line 4530 of file SCOLMaterial.cpp.
int SO3MaterialSetPassDepthWriteEnabled | ( | mmachine | m | ) |
SO3MaterialSetPassDepthWriteEnabled : Set if the pass must write a validated fragment depth information to depth buffer.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : 1 to enable depth write, 0 to disable |
Definition at line 4403 of file SCOLMaterial.cpp.
int SO3MaterialSetPassLighting | ( | mmachine | m | ) |
SO3MaterialSetPassLighting : Sets pass lighting state.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : 1 to enable lighting, 0 to disable |
Definition at line 6040 of file SCOLMaterial.cpp.
int SO3MaterialSetPassPointSize | ( | mmachine | m | ) |
SO3MaterialSetPassPointSize : Sets pass point size.
Prototype: fun [SO3_MATERIAL I I F] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
F | : point size |
Definition at line 5906 of file SCOLMaterial.cpp.
int SO3MaterialSetPassPolygonMode | ( | mmachine | m | ) |
SO3MaterialSetPassPolygonMode : Sets pass polygon mode.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : polygon mode (SO3_POLYGONMODE_POINTS, SO3_POLYGONMODE_WIREFRAME, SO3_POLYGONMODE_SOLID) |
Definition at line 5773 of file SCOLMaterial.cpp.
int SO3MaterialSetPassSceneBlending | ( | mmachine | m | ) |
SO3MaterialSetPassSceneBlending : Sets pass scene blending.
Prototype: fun [SO3_MATERIAL I I I I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Source blending factor |
I | : Destination blending factor |
I | : Source blending factor for alpha |
I | : Destination blending factor for alpha |
Definition at line 4970 of file SCOLMaterial.cpp.
int SO3MaterialSetPassSceneBlendingOperation | ( | mmachine | m | ) |
SO3MaterialSetPassSceneBlendingOperation : Sets pass scene blending operation.
Prototype: fun [SO3_MATERIAL I I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Scene blending operation |
I | : Scene blending operation for alpha |
Definition at line 5195 of file SCOLMaterial.cpp.
int SO3MaterialSetPassUseVertexColor | ( | mmachine | m | ) |
SO3MaterialSetPassUseVertexColor : Sets pass vertex color state.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : Target material. |
I | : Technique of the material. |
I | : Pass of the material. |
I | : 1 to enable vertex color on shader 0 to disable |
Definition at line 5403 of file SCOLMaterial.cpp.
int SO3MaterialSetReceiveShadows | ( | mmachine | m | ) |
SO3MaterialSetReceiveShadows : defines receive shadow state for a given material.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : current material |
I | : receive shadow state (1 enable, 0 disable) |
Definition at line 1715 of file SCOLMaterial.cpp.
int SO3MaterialSetSelfIllumination | ( | mmachine | m | ) |
SO3MaterialSetSelfIllumination : defines self illuminaton color of a material.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : current material |
I | : given color (rgba) |
Definition at line 455 of file SCOLMaterial.cpp.
int SO3MaterialSetSelfIlluminationByTechAndPass | ( | mmachine | m | ) |
SO3MaterialSetSelfIlluminationByTechAndPass : defines self illumination color by technique and pass of a material.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
I | : given color (rgba) |
Definition at line 500 of file SCOLMaterial.cpp.
int SO3MaterialSetShininess | ( | mmachine | m | ) |
SO3MaterialSetShininess : defines shininess value of a material.
Prototype: fun [SO3_MATERIAL F] I
SO3_MATERIAL | : current material |
F | : given value |
Definition at line 685 of file SCOLMaterial.cpp.
int SO3MaterialSetShininessByTechAndPass | ( | mmachine | m | ) |
SO3MaterialSetShininessByTechAndPass : defines shininess value by technique and pass of a material.
Prototype: fun [SO3_MATERIAL I I F] I
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
F | : shininess value |
Definition at line 724 of file SCOLMaterial.cpp.
int SO3MaterialSetSpecular | ( | mmachine | m | ) |
SO3MaterialSetSpecular : defines specular color of a material.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : current material |
I | : given color (rgba) |
Definition at line 570 of file SCOLMaterial.cpp.
int SO3MaterialSetSpecularByTechAndPass | ( | mmachine | m | ) |
SO3MaterialSetSpecularByTechAndPass : defines specular color by technique and pass of a material.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : current material |
I | : index of technique |
I | : index for pass |
I | : given color (rgba) |
Definition at line 614 of file SCOLMaterial.cpp.
int SO3MaterialSetTechniqueSchemeName | ( | mmachine | m | ) |
SO3MaterialSetTechniqueSchemeName : Set a technique scheme name on a material.
Prototype: fun [SO3_MATERIAL I] I
SO3_MATERIAL | : Target material. |
I | : Technique index. |
S | : scheme name |
Definition at line 5619 of file SCOLMaterial.cpp.
int SO3MaterialSetTexture | ( | mmachine | m | ) |
SO3MaterialSetTexture : Set a texture on a material.
Prototype: fun [SO3_MATERIAL SO3_TEXTURE I I I] I
SO3_MATERIAL | : current material |
SO3_MATERIAL | : current texture |
I | : given technique |
I | : given pass |
I | : index of the texture |
Definition at line 1760 of file SCOLMaterial.cpp.
int SO3MaterialSetTextureBlendFactor | ( | mmachine | m | ) |
SO3MaterialSetTextureBlendFactor : Set the texture blend factor (used for reflection map)
Prototype: fun [SO3_MATERIAL I I I F] I
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
F | : Blend factor between 0.0 and 1.0 |
Definition at line 3251 of file SCOLMaterial.cpp.
int SO3MaterialSetTextureByType | ( | mmachine | m | ) |
SO3MaterialSetTextureByType : Set a texture on a material by type.
Prototype: fun [SO3_MATERIAL SO3_TEXTURE I I I] I
SO3_MATERIAL | : current material |
SO3_MATERIAL | : current texture |
I | : given technique |
I | : given pass |
I | : texture type (SO3_MAP_AMBIENT, SO3_MAP_DIFFUSE, SO3_MAP_SPECULAR, SO3_MAP_EMISSIVE, SO3_MAP_NORMAL, SO3_MAP_REFLECTION, SO3_MAP_ROUGHNESS) |
Definition at line 1940 of file SCOLMaterial.cpp.
int SO3MaterialSetTextureRotate | ( | mmachine | m | ) |
SO3MaterialSetTextureRotate : Rotate the texture.
Prototype: fun [SO3_MATERIAL I I I F] I
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
F | : Rotation angle, in radians. |
Definition at line 3120 of file SCOLMaterial.cpp.
int SO3MaterialSetTextureRotateAnimation | ( | mmachine | m | ) |
SO3MaterialSetTextureRotateAnimation : Set a rotate animation on the texture.
Prototype: fun [SO3_MATERIAL I I I F] I
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
F | : The number of complete anticlockwise revolutions per second. |
Definition at line 3385 of file SCOLMaterial.cpp.
int SO3MaterialSetTextureScrollAnimation | ( | mmachine | m | ) |
SO3MaterialSetTextureScrollAnimation : Set a scroll animation on the texture.
Prototype: fun [SO3_MATERIAL I I I F F] I
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
F | : The number of horizontal loops per second (+v=moving right, -v = moving left) |
F | : The number of vertical loops per second (+v=moving up, -v= moving down) |
Definition at line 3453 of file SCOLMaterial.cpp.
int SO3MaterialSetTextureUScale | ( | mmachine | m | ) |
SO3MaterialSetTextureUScale : Sets the scale value of the texture, for the U value.
Prototype: fun [SO3_MATERIAL I I I F] I
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
F | : U scale value. |
Definition at line 2856 of file SCOLMaterial.cpp.
int SO3MaterialSetTextureUScroll | ( | mmachine | m | ) |
SO3MaterialSetTextureUScroll : Sets the translation offset of the texture, ie scrolls the texture, for the U value.
Prototype: fun [SO3_MATERIAL I I I F] I
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
F | : U Scroll value. |
Definition at line 2592 of file SCOLMaterial.cpp.
int SO3MaterialSetTextureVScale | ( | mmachine | m | ) |
SO3MaterialSetTextureVScale : Sets the scale of the texture, for the V value.
Prototype: fun [SO3_MATERIAL I I I F] I
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
F | : V scale value. |
Definition at line 2988 of file SCOLMaterial.cpp.
int SO3MaterialSetTextureVScroll | ( | mmachine | m | ) |
SO3MaterialSetTextureVScroll : Sets the translation offset of the texture, ie scrolls the texture, for the V value.
Prototype: fun [SO3_MATERIAL I I I F] I
SO3_MATERIAL | : |
I | : Technique of the material. |
I | : Pass of the material. |
I | : Texture unit of the material. |
F | : V Scroll value. |
Definition at line 2724 of file SCOLMaterial.cpp.
int SO3MaterialTechniqueGetIndexByName | ( | mmachine | m | ) |
SO3MaterialTechniqueGetIndexByName : return the index of a technique by name.
Prototype: fun [SO3_MATERIAL S] I
SO3_MATERIAL | : current material |
S | : Technique's name |
Definition at line 1386 of file SCOLMaterial.cpp.
int SO3MaterialTechniqueGetNameByIndex | ( | mmachine | m | ) |
SO3MaterialTechniqueGetNameByIndex : return the name of a technique.
Prototype: fun [SO3_MATERIAL I] S
SO3_MATERIAL | : current material |
I | : techniques index |
Definition at line 1331 of file SCOLMaterial.cpp.
int SO3MaterialTextureUnitGetIndexByName | ( | mmachine | m | ) |
SO3MaterialTextureUnitGetIndexByName : return the index of a Texture unit by name.
Prototype: fun [SO3_MATERIAL I I S] I
SO3_MATERIAL | : current material |
I | : technique index |
I | : pass index |
S | : Texture unit name |
Definition at line 1640 of file SCOLMaterial.cpp.
int SO3MaterialTextureUnitGetIndexByType | ( | mmachine | m | ) |
SO3MaterialTextureUnitGetIndexByType : Get a texture from a material by it's type.
Prototype: fun [SO3_MATERIAL I I I] I
SO3_MATERIAL | : current material |
I | : given technique |
I | : given pass |
I | : texture type (SO3_MAP_AMBIENT, SO3_MAP_DIFFUSE, SO3_MAP_SPECULAR, SO3_MAP_EMISSIVE, SO3_MAP_NORMAL, SO3_MAP_REFLECTION, SO3_MAP_ROUGHNESS) |
Definition at line 2100 of file SCOLMaterial.cpp.
int SO3MaterialTextureUnitGetNameByIndex | ( | mmachine | m | ) |
SO3MaterialTextureUnitGetNameByIndex : return the name of a texture unit.
Prototype: fun [SO3_MATERIAL I I I] S
SO3_MATERIAL | : current material |
I | : technique index |
I | : pass index |
I | : Texture unit index |
Definition at line 1566 of file SCOLMaterial.cpp.
int SO3RenderToTextureCompositorGetEnable | ( | mmachine | m | ) |
SO3RenderToTextureCompositorGetEnable : Get Compositor state on a given RenderToTexture.
Prototype: fun [SO3_OBJECT S] I
SO3_OBJECT | : current node |
S | : name of the compositor |
Definition at line 720 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureCompositorSetEnable | ( | mmachine | m | ) |
SO3RenderToTextureCompositorSetEnable : Set Compositor state on a given RenderToTexture.
Prototype: fun [SO3_OBJECT S I] I
SO3_OBJECT | : current node |
S | : name of the compositor |
I | : 1 for enable, 0 for disable |
Definition at line 669 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureCreate | ( | mmachine | m | ) |
main include
SO3RenderToTextureCreate : Create a new render to texture
Prototype: fun [SO3_SCENE S SO3_OBJECT] SO3_OBJECT
SO3_SCENE | : current scene |
S | : given name for the new render to texture object |
SO3_OBJECT | : the camera that will be used to render from. |
Definition at line 54 of file SCOLRenderToTexture.cpp.
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.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 295 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureGetEnable | ( | mmachine | m | ) |
SO3RenderToTextureGetEnable : Get the enable state for the render to texture object.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 206 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureGetTextureSize | ( | mmachine | m | ) |
SO3RenderToTextureGetTextureSize : Get the size of the target texture.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 385 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureRemoveCompositor | ( | mmachine | m | ) |
SO3RenderToTextureRemoveCompositor : Remove a compositor from a given RenderToTexture.
Prototype: fun [SO3_OBJECT S] I
SO3_OBJECT | : current node |
S | : name of the compositor |
Definition at line 613 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureSetAutoUpdate | ( | mmachine | m | ) |
SO3RenderToTextureSetAutoUpdate : Set the AutoUpdate state (refresh every frame) for render to texture object.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current node |
I | : bool for enable state |
Definition at line 339 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureSetEnable | ( | mmachine | m | ) |
SO3RenderToTextureSetEnable : Set the Enable state for render to texture object.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current node |
I | : bool for enable state |
Definition at line 250 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureSetMaterialScheme | ( | mmachine | m | ) |
SO3RenderToTextureSetMaterialScheme : set the render to texture material scheme.
Prototype: fun [SO3_OBJECT S] I
SO3_OBJECT | : current node |
S | : material scheme name |
Definition at line 516 of file SCOLRenderToTexture.cpp.
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.
Prototype: fun [SO3_OBJECT SO3_MATERIAL I I I] SO3_OBJECT
SO3_OBJECT | |
SO3_MATERIAL | : |
I | : Technique of the material where to render the render to texture object. |
I | : Pass of the material where to render the render to texture object. |
I | : Texture unit of the material where to render the render to texture object. |
Definition at line 139 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureSetTextureSize | ( | mmachine | m | ) |
SO3RenderToTextureSetTextureSize : Set the size of the target texture.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current node |
I | : bool for enable state |
Definition at line 425 of file SCOLRenderToTexture.cpp.
int SO3RenderToTextureUpdate | ( | mmachine | m | ) |
SO3RenderToTextureUpdate : manually update a dynamic render to texture object (in case autoUpdate is set to false);.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current node |
Definition at line 474 of file SCOLRenderToTexture.cpp.
int SO3TextureBlit | ( | mmachine | m | ) |
SO3TextureBlit : Blit a ObjBitmap on a texture.
Prototype: fun [SO3_TEXTURE ObjBitmap] I
SO3_TEXTURE | : current texture |
ObjBitmap | : ObjBitmap to blit |
Definition at line 2446 of file SCOLMaterial.cpp.
int SO3TextureBlitAlpha | ( | mmachine | m | ) |
SO3TextureBlitAlpha : Blit a AlphaBitmap on a texture.
Prototype: fun [SO3_TEXTURE AlphaBitmap] I
SO3_TEXTURE | : current texture |
AlphaBitmap | : AlphaBitmap to blit |
Definition at line 2508 of file SCOLMaterial.cpp.
int SO3TextureCreate | ( | mmachine | m | ) |
SO3TextureCreate : Create a texture unit.
Prototype: fun [SO3_SCENE S P S I I] SO3_TEXTURE
SO3_SCENE | : current scene |
S | : name of the new texture |
P | : file of the texture |
S | : the resource group of the texture |
I | : width of the image in pixels |
I | : height of the image in pixels |
Definition at line 2246 of file SCOLMaterial.cpp.
int SO3TextureDestroy | ( | mmachine | m | ) |
SO3TextureDestroy : Destroy a texture unit.
Prototype: fun [SO3_TEXTURE] I
SO3_TEXTURE | : current texture |
Definition at line 2356 of file SCOLMaterial.cpp.
int SO3TextureGetName | ( | mmachine | m | ) |
SO3TextureGetName : Return the name of a texture.
Prototype: fun [SO3_TEXTURE] S
SO3_TEXTURE | : current texture |
Definition at line 2381 of file SCOLMaterial.cpp.
int SO3TextureManagerGetMemoryUsage | ( | mmachine | m | ) |
SO3TextureManagerGetMemoryUsage : Return the memory usage of all textures in the scene.
Prototype: fun [SO3_SCENE] S
SO3_SCENE | : current scene |
Definition at line 2412 of file SCOLMaterial.cpp.