Project

General

Profile

SO3Engine
SCOLViewport.cpp File Reference

Go to the source code of this file.

Functions

int SO3ViewportCreate (mmachine m)
 SO3ViewportCreate : create a new SO3_VIEWPORT object.
 
int SO3ViewportDestroy (mmachine m)
 SO3ViewportDestroy : destroy a SO3_VIEWPORT object.
 
int SO3ViewportResize (mmachine m)
 SO3ViewportResize : resize a given viewport.
 
int SO3ViewportGetTriangleCount (mmachine m)
 SO3ViewportGetTriangleCount : get the number of triangles rendered in last viewport update.
 
int SO3ViewportGetBatchCount (mmachine m)
 SO3ViewportGetBatchCount : get the number of batch rendered in last viewport update.
 
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 SO3ViewportSetDeferredEnabled (mmachine m)
 SO3ViewportSetDeferredEnabled : set deffered render enable state on a given viewport.
 
int SO3ViewportGetDeferredEnabled (mmachine m)
 SO3ViewportGetDeferredEnabled : get the deferred state of a given viewport.
 
int SO3ViewportSetHDREnabled (mmachine m)
 SO3ViewportSetHDREnabled : set HDR enable state on a given viewport.
 
int SO3ViewportGetHDREnabled (mmachine m)
 SO3ViewportGetHDREnabled : get the HDR state of a given viewport.
 
int SO3ViewportSetHDRBlurAmount (mmachine m)
 SO3ViewportSetHDRBlurAmount : set the HDR blur amount on a given viewport.
 
int SO3ViewportSetHDREffectAmount (mmachine m)
 SO3ViewportSetHDREffectAmount : set the HDR shaft effect amount on a given viewport.
 
int SO3ViewportSetHDRGamma (mmachine m)
 SO3ViewportSetHDRGamma : set the HDR gamma correction on a given viewport.
 
int SO3ViewportSetSSAOEnabled (mmachine m)
 SO3ViewportSetSSAOEnabled : set SSAO enable state on a given viewport SSAO is an automated ambient occlusion method.
 
int SO3ViewportGetSSAOEnabled (mmachine m)
 SO3ViewportGetSSAOEnabled : get the SSAO state of a given viewport.
 
int SO3ViewportGetDeferredAntiAliasingMode (mmachine m)
 SO3ViewportGetDeferredAntiAliasingMode : get deffered Anti aliasing method used on a given viewport.
 
int SO3ViewportSetDeferredAntiAliasingMode (mmachine m)
 SO3ViewportSetDeferredAntiAliasingMode : set deffered anti aliasing method on a given viewport.
 
int SO3ViewportGetDeferredDebugMode (mmachine m)
 SO3ViewportGetDeferredDebugMode : get deffered debug visualization on a given viewport.
 
int SO3ViewportSetDeferredDebugMode (mmachine m)
 SO3ViewportSetDeferredDebugMode : set deffered debug visualization 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 SO3CompositorGetNumTechniques (mmachine m)
 SO3CompositorGetNumTechniques :
 
int SO3CompositorGetNumTargets (mmachine m)
 SO3CompositorGetNumTargets :
 
int SO3CompositorGetNumPasses (mmachine m)
 SO3CompositorGetNumPasses :
 
int SO3CompositorGetPassType (mmachine m)
 SO3CompositorGetPassType :
 
int SO3CompositorGetMaterial (mmachine m)
 SO3CompositorGetMaterial :
 
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.
 
int SO3ViewportSetVisibilityMaskIndexEnable (mmachine m)
 SO3ViewportSetVisibilityMaskIndexEnable : BLABLA.
 
int SO3ViewportGetVisibilityMaskIndexEnable (mmachine m)
 SO3ViewportGetVisibilityMaskIndexEnable : BLABLA.
 
int SO3ViewportGetPixelPositionFromWorldPos (mmachine m)
 SO3ViewportGetPixelPositionFromWorldPos : Get the pixel position of a 3D world position return NIL if the coords are out of the camera.
 
int SO3ViewportGetWorldPosFromPixelPosition (mmachine m)
 SO3ViewportGetWorldPosFromPixelPosition : Get the world position of a 2D pixel position.
 
int SO3ViewportSetSSAOTechnique (mmachine m)
 SO3ViewportSetSSAOTechnique : Sets the SSAO technique to use.
 
int SO3ViewportGetSSAOTechnique (mmachine m)
 SO3ViewportGetSSAOTechnique : Retrieves the current SSAO technique in use.
 
int SO3ViewportSetSSAOTechniqueParameters (mmachine m)
 SO3ViewportSetSSAOTechniqueParameters : Sets all parameter for the given SSAO technique. WARNING: Every viewport that uses this SSAO technique will take those parameters in count!
 
int SO3ViewportGetSSAOTechniqueParameters (mmachine m)
 SO3ViewportGetSSAOTechniqueParameters : Retrieves every parameter for the given SSAO technique.
 
int SO3ViewportSetSSAOTechniqueParameterValue (mmachine m)
 SO3ViewportSetSSAOTechniqueParameterValue : Retrieves a parameter's value for the given SSAO technique.
 
int SO3ViewportGetSSAOTechniqueParameterValue (mmachine m)
 SO3ViewportGetSSAOTechniqueParameterValue : Retrieves a parameter's value for the given SSAO technique.
 
int SO3ViewportSetSSAOFilter (mmachine m)
 SO3ViewportSetSSAOFilter : Sets the SSAO filter to use.
 
int SO3ViewportGetSSAOFilter (mmachine m)
 SO3ViewportGetSSAOFilter : Retrieves the current SSAO filter in use.
 
int SO3ViewportSetSSAODebugMode (mmachine m)
 SO3ViewportSetSSAODebugMode : Sets the SSAO debug vizualization to use.
 
int SO3ViewportGetSSAODebugMode (mmachine m)
 SO3ViewportGetSSAODebugMode : Retrieves the current SSAO debug visualization mode in use.
 
int SO3ViewportWriteContent (mmachine m)
 SO3ViewportWriteContent : function to write the content of a SO3_VIEWPORT into a file the size can be larger than the current viewport pixel size overlays can be shown only the current viewport size is used.
 
int SCOLloadViewport (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
 
int SCOLfreeViewport ()
 free the SO3Engine Viewport function
 

Variables

int(* CallMainThread )(void *, mmachine m)
 main include
 
NativeDefinition natSO3Viewport []
 

Function Documentation

◆ SCOLfreeViewport()

int SCOLfreeViewport ( )

free the SO3Engine Viewport function

Parameters
m: The VM

Definition at line 3308 of file SCOLViewport.cpp.

◆ SCOLloadViewport()

int SCOLloadViewport ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters
m: The VM
w: The Callback VM

Definition at line 3298 of file SCOLViewport.cpp.

Variable Documentation

◆ CallMainThread

int(* CallMainThread)(void *, mmachine m) ( void *  ,
mmachine  m 
)
extern

main include

Definition at line 84 of file SO3SCOL.cpp.

◆ natSO3Viewport

NativeDefinition natSO3Viewport[]

Definition at line 3208 of file SCOLViewport.cpp.