Functions | |
| int | SO3ViewportCreate (mmachine m) |
| main include | |
| int | SO3ViewportDestroy (mmachine m) |
| SO3ViewportDestroy : destroy a SO3_VIEWPORT object. | |
| int | SO3ViewportResize (mmachine m) |
| SO3ViewportResize : resize a given viewport. | |
| int | SO3ViewportGetPriority (mmachine m) |
| SO3ViewportGetPriority : get the priority (z order) of a given viewport. | |
| int | SO3ViewportGetShadowEnabled (mmachine m) |
| SO3ViewportGetShadowEnabled : get the shadow state of a given viewport. | |
| int | SO3ViewportSetPositionSize (mmachine m) |
| SO3ViewportSetPositionSize : set Position and size on a given viewport. | |
| int | SO3ViewportSetShadowEnabled (mmachine m) |
| SO3ViewportSetShadowEnabled : set shadows enable state on a given viewport. | |
| int | SO3ViewportGetPositionSize (mmachine m) |
| SO3ViewportGetPositionSize : Get Position and Size of on a given viewport, relative to the window. | |
| int | SO3ViewportGetPixelPositionSize (mmachine m) |
| SO3ViewportGetPixelPositionSize : Get Position and Size in pixels of on a given viewport. | |
| int | SO3ViewportGetCamera (mmachine m) |
| SO3ViewportGetCamera : Get the camera attached to a given viewport. | |
| int | SO3ViewportSetBackgroundColor (mmachine m) |
| SO3ViewportSetBackgroundColor : defines background color on a given viewport. | |
| int | SO3ViewportGetBackgroundColor (mmachine m) |
| SO3ViewportGetBackgroundColor : Get the background color on a given viewport. | |
| int | SO3ViewportSetClearDepth (mmachine m) |
| SO3ViewportSetClearDepth : defines if the viewport clear the depth buffer or not. | |
| int | SO3ViewportGetClearDepth (mmachine m) |
| SO3ViewportGetClearDepth : Get if the viewport clear the depth buffer or not. | |
| int | SO3ViewportSetClearColor (mmachine m) |
| SO3ViewportSetClearColor : defines if the viewport clear the color buffer or not. | |
| int | SO3ViewportGetClearColor (mmachine m) |
| SO3ViewportGetClearColor : Get if the viewport clear the color buffer or not. | |
| int | SO3ViewportAddCompositor (mmachine m) |
| SO3ViewportAddCompositor : Add a compositor on a given viewport. | |
| int | SO3ViewportSetMaterialScheme (mmachine m) |
| SO3ViewportSetMaterialScheme : Set a material scheme on a given viewport. | |
| int | SO3ViewportGetMaterialScheme (mmachine m) |
| SO3ViewportGetMaterialScheme : Get the material scheme which the viewport should use. | |
| int | SO3ViewportListEnabledCompositors (mmachine m) |
| SO3ViewportListEnabledCompositors : List compositors name on a given viewport. | |
| int | SO3ViewportRemoveCompositor (mmachine m) |
| SO3ViewportRemoveCompositor : Remove a compositor from a given viewport. | |
| int | SO3CompositorSetEnable (mmachine m) |
| SO3CompositorSetEnable : Set Compositor state on a given viewport. | |
| int | SO3CompositorGetEnable (mmachine m) |
| SO3CompositorGetEnable : Get Compositor state on a given viewport. | |
| int | SO3ViewportSetSkyEnable (mmachine m) |
| SO3ViewportSetSkyEnable : Set the skies visibility state on a given viewport. | |
| int | SO3ViewportGetSkyEnable (mmachine m) |
| SO3ViewportGetSkyEnable : Get the skies visibility state on a given viewport. | |
| int | SO3ViewportSetOverlayEnable (mmachine m) |
| SO3ViewportSetOverlayEnable : Set the overlay visibility state on a given viewport. | |
| int | SO3ViewportGetOverlayEnable (mmachine m) |
| SO3ViewportGetOverlayEnable : Get the overlay visibility state on a given viewport. | |
| int | SO3ViewportSetVisibilityMask (mmachine m) |
| SO3ViewportSetVisibilityMask : Set the viewport visibility mask for exclude some objects from the render. | |
| int | SO3ViewportGetVisibilityMask (mmachine m) |
| SO3ViewportGetVisibilityMask : Get the current viewport visibility flag. | |
Scol functions definition
| int SO3CompositorGetEnable | ( | mmachine | m | ) |
SO3CompositorGetEnable : Get Compositor state on a given viewport.
Prototype: fun [SO3_VIEWPORT S] I
| SO3_VIEWPORT | : current viewport | |
| S | : name of the compositor |
Definition at line 1031 of file SCOLViewport.cpp.
| int SO3CompositorSetEnable | ( | mmachine | m | ) |
SO3CompositorSetEnable : Set Compositor state on a given viewport.
Prototype: fun [SO3_VIEWPORT S I] I
| SO3_VIEWPORT | : current viewport | |
| S | : name of the compositor | |
| I | : 1 for enable, 0 for disable |
Definition at line 986 of file SCOLViewport.cpp.
| int SO3ViewportAddCompositor | ( | mmachine | m | ) |
SO3ViewportAddCompositor : Add a compositor on a given viewport.
Prototype: fun [SO3_VIEWPORT S S] I
| SO3_VIEWPORT | : target viewport | |
| S | : name of the compositor | |
| S | : name of the scheme mask |
Definition at line 766 of file SCOLViewport.cpp.
| int SO3ViewportCreate | ( | mmachine | m | ) |
main include
SO3ViewportCreate : create a new SO3_VIEWPORT object Prototype: fun [Chn SO3_BUFFER SO3_OBJECT F F F F I] SO3_VIEWPORT
| SO3_BUFFER | : current buffer | |
| SO3_OBJECT | : current camera | |
| F | : x position | |
| F | : y position | |
| F | : width | |
| F | : height | |
| I | : z order |
Definition at line 67 of file SCOLViewport.cpp.
| int SO3ViewportDestroy | ( | mmachine | m | ) |
SO3ViewportDestroy : destroy a SO3_VIEWPORT object.
Prototype: fun [SO3_VIEWPORT] I
| SO3_VIEWPORT | : current viewport |
Definition at line 155 of file SCOLViewport.cpp.
| int SO3ViewportGetBackgroundColor | ( | mmachine | m | ) |
SO3ViewportGetBackgroundColor : Get the background color on a given viewport.
Prototype: fun [SO3_VIEWPORT] I
| SO3_VIEWPORT | : current viewport |
Definition at line 574 of file SCOLViewport.cpp.
| int SO3ViewportGetCamera | ( | mmachine | m | ) |
SO3ViewportGetCamera : Get the camera attached to a given viewport.
Prototype: fun [SO3_VIEWPORT] SO3_OBJECT
| SO3_VIEWPORT | : current viewport | |
| SO3_SCENE | : current scene |
Definition at line 492 of file SCOLViewport.cpp.
| int SO3ViewportGetClearColor | ( | mmachine | m | ) |
SO3ViewportGetClearColor : Get if the viewport clear the color buffer or not.
Prototype: fun [SO3_VIEWPORT] I
| SO3_VIEWPORT | : current viewport |
Definition at line 728 of file SCOLViewport.cpp.
| int SO3ViewportGetClearDepth | ( | mmachine | m | ) |
SO3ViewportGetClearDepth : Get if the viewport clear the depth buffer or not.
Prototype: fun [SO3_VIEWPORT] I
| SO3_VIEWPORT | : current viewport |
Definition at line 650 of file SCOLViewport.cpp.
| int SO3ViewportGetMaterialScheme | ( | mmachine | m | ) |
SO3ViewportGetMaterialScheme : Get the material scheme which the viewport should use.
Prototype: fun [SO3_VIEWPORT] S
| SO3_VIEWPORT | : current viewport |
Definition at line 847 of file SCOLViewport.cpp.
| int SO3ViewportGetOverlayEnable | ( | mmachine | m | ) |
SO3ViewportGetOverlayEnable : Get the overlay visibility state on a given viewport.
Prototype: fun [SO3_VIEWPORT] I
| SO3_VIEWPORT | : current viewport |
Definition at line 1199 of file SCOLViewport.cpp.
| int SO3ViewportGetPixelPositionSize | ( | mmachine | m | ) |
SO3ViewportGetPixelPositionSize : Get Position and Size in pixels of on a given viewport.
Prototype: fun [SO3_VIEWPORT] [I I I I]
| SO3_VIEWPORT | : current viewport |
Definition at line 446 of file SCOLViewport.cpp.
| int SO3ViewportGetPositionSize | ( | mmachine | m | ) |
SO3ViewportGetPositionSize : Get Position and Size of on a given viewport, relative to the window.
Prototype: fun [SO3_VIEWPORT] [F F F F]
| SO3_VIEWPORT | : current viewport |
Definition at line 397 of file SCOLViewport.cpp.
| int SO3ViewportGetPriority | ( | mmachine | m | ) |
SO3ViewportGetPriority : get the priority (z order) of a given viewport.
Prototype: fun [SO3_VIEWPORT] I
| SO3_VIEWPORT | : current viewport |
Definition at line 235 of file SCOLViewport.cpp.
| int SO3ViewportGetShadowEnabled | ( | mmachine | m | ) |
SO3ViewportGetShadowEnabled : get the shadow state of a given viewport.
Prototype: fun [SO3_VIEWPORT] I
| SO3_VIEWPORT | : current viewport |
Definition at line 270 of file SCOLViewport.cpp.
| int SO3ViewportGetSkyEnable | ( | mmachine | m | ) |
SO3ViewportGetSkyEnable : Get the skies visibility state on a given viewport.
Prototype: fun [SO3_VIEWPORT] I
| SO3_VIEWPORT | : current viewport |
Definition at line 1117 of file SCOLViewport.cpp.
| int SO3ViewportGetVisibilityMask | ( | mmachine | m | ) |
SO3ViewportGetVisibilityMask : Get the current viewport visibility flag.
Prototype: fun [SO3_VIEWPORT] I
| SO3_VIEWPORT | : current viewport |
Definition at line 1280 of file SCOLViewport.cpp.
| int SO3ViewportListEnabledCompositors | ( | mmachine | m | ) |
SO3ViewportListEnabledCompositors : List compositors name on a given viewport.
Prototype: fun [SO3_VIEWPORT] [S r1]
| SO3_VIEWPORT | : current viewport |
Definition at line 884 of file SCOLViewport.cpp.
| int SO3ViewportRemoveCompositor | ( | mmachine | m | ) |
SO3ViewportRemoveCompositor : Remove a compositor from a given viewport.
Prototype: fun [SO3_VIEWPORT S] I
| SO3_VIEWPORT | : current viewport | |
| S | : name of the compositor |
Definition at line 944 of file SCOLViewport.cpp.
| int SO3ViewportResize | ( | mmachine | m | ) |
SO3ViewportResize : resize a given viewport.
Prototype: fun [SO3_VIEWPORT I I] I
| SO3_VIEWPORT | : current viewport | |
| I | : new viewport width, in pixels | |
| I | : new viewport height, in pixels |
Definition at line 193 of file SCOLViewport.cpp.
| int SO3ViewportSetBackgroundColor | ( | mmachine | m | ) |
SO3ViewportSetBackgroundColor : defines background color on a given viewport.
Prototype: fun [SO3_VIEWPORT I] I
| SO3_VIEWPORT | : current viewport | |
| I | : background color (rgba) |
Definition at line 538 of file SCOLViewport.cpp.
| int SO3ViewportSetClearColor | ( | mmachine | m | ) |
SO3ViewportSetClearColor : defines if the viewport clear the color buffer or not.
Prototype: fun [SO3_VIEWPORT I] I
| SO3_VIEWPORT | : current viewport | |
| I | : 1 to enable 0 otherwise |
Definition at line 688 of file SCOLViewport.cpp.
| int SO3ViewportSetClearDepth | ( | mmachine | m | ) |
SO3ViewportSetClearDepth : defines if the viewport clear the depth buffer or not.
Prototype: fun [SO3_VIEWPORT I] I
| SO3_VIEWPORT | : current viewport | |
| I | : 1 to enable 0 otherwise |
Definition at line 610 of file SCOLViewport.cpp.
| int SO3ViewportSetMaterialScheme | ( | mmachine | m | ) |
SO3ViewportSetMaterialScheme : Set a material scheme on a given viewport.
Prototype: fun [SO3_VIEWPORT S] I
| SO3_VIEWPORT | : current viewport | |
| S | : name of the compositor |
Definition at line 808 of file SCOLViewport.cpp.
| int SO3ViewportSetOverlayEnable | ( | mmachine | m | ) |
SO3ViewportSetOverlayEnable : Set the overlay visibility state on a given viewport.
Prototype: fun [SO3_VIEWPORT I] I
| SO3_VIEWPORT | : current viewport | |
| I | : 1 for enable, 0 for disable |
Definition at line 1157 of file SCOLViewport.cpp.
| int SO3ViewportSetPositionSize | ( | mmachine | m | ) |
SO3ViewportSetPositionSize : set Position and size on a given viewport.
Prototype: fun [SO3_VIEWPORT F F F F] I
| SO3_VIEWPORT | : current viewport | |
| F | : new x position | |
| F | : new y position | |
| F | : new w size | |
| F | : new h size |
Definition at line 313 of file SCOLViewport.cpp.
| int SO3ViewportSetShadowEnabled | ( | mmachine | m | ) |
SO3ViewportSetShadowEnabled : set shadows enable state on a given viewport.
Prototype: fun [SO3_VIEWPORT I] I
| SO3_VIEWPORT | : current viewport | |
| I | : boolean for shadow state |
Definition at line 356 of file SCOLViewport.cpp.
| int SO3ViewportSetSkyEnable | ( | mmachine | m | ) |
SO3ViewportSetSkyEnable : Set the skies visibility state on a given viewport.
Prototype: fun [SO3_VIEWPORT I] I
| SO3_VIEWPORT | : current viewport | |
| I | : 1 for enable, 0 for disable |
Definition at line 1075 of file SCOLViewport.cpp.
| int SO3ViewportSetVisibilityMask | ( | mmachine | m | ) |
SO3ViewportSetVisibilityMask : Set the viewport visibility mask for exclude some objects from the render.
Prototype: fun [SO3_VIEWPORT I] I
| SO3_VIEWPORT | : current viewport | |
| I | : mask |
Definition at line 1238 of file SCOLViewport.cpp.
1.6.3