SO3Engine
|
SCOLViewport.cpp
Go to the documentation of this file.
910 if ((imode < SDeferredShading::SO3_DEFERRED_AA_NONE) || (imode > SDeferredShading::SO3_DEFERRED_AA_COUNT))
1821 if ((scolViewport == NIL) || (scolCompoName == NIL) || (scolTechnique == NIL) || (scolTarget == NIL))
1885 if ((scolViewport == NIL) || (scolCompoName == NIL) || (scolTechnique == NIL) || (scolTarget == NIL) || (scolPass == NIL))
1950 if ((scolViewport == NIL) || (scolCompoName == NIL) || (scolTechnique == NIL) || (scolTarget == NIL) || (scolPass == NIL))
2650 SSsaoHandler::SsaoTechniqueParameter param("", SSsaoHandler::SsaoTechniqueParameterRange(0.0f, 0.0f), MTOF(MMfetch(m, paramTuple, 1)));
2651 parameters.insert(SSsaoHandler::SsaoTechniqueParameters::value_type(MMstartstr(m, MTOP(MMfetch(m, paramTuple, 0))), param));
3193 SScreenshotManager scmanager(viewport, MTOI(iwidth), MTOI(iheight), withOverlays, transparentBackground);
3209 { "SO3_SSAO_TECHNIQUE_NONE", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_TECHNIQUE_NONE) },
3210 { "SO3_SSAO_TECHNIQUE_CRYTEK", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_TECHNIQUE_CRYTEK) },
3211 { "SO3_SSAO_TECHNIQUE_HEMISPHERIC", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_TECHNIQUE_HEMISPHERIC) },
3212 { "SO3_SSAO_TECHNIQUE_CREASE_SHADING", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_TECHNIQUE_CREASE_SHADING) },
3215 { "SO3_SSAO_FILTER_BOX_SMART", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_FILTER_BOX_SMART) },
3216 { "SO3_SSAO_DEBUG_MODE_NONE", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_DEBUG_MODE_NONE) },
3217 { "SO3_SSAO_DEBUG_MODE_DEPTH", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_DEBUG_MODE_DEPTH) },
3218 { "SO3_SSAO_DEBUG_MODE_NORMAL", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_DEBUG_MODE_NORMAL) },
3219 { "SO3_SSAO_DEBUG_MODE_POSITION", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_DEBUG_MODE_POSITION) },
3220 { "SO3_SSAO_DEBUG_MODE_SSAO_ONLY", TYPVAR, "I", SCOL_TYPTYPE(SSsaoHandler::SO3_SSAO_DEBUG_MODE_SSAO_ONLY) },
3222 { "SO3_COMPOSITOR_PASS_STENCIL", TYPVAR, "I", SCOL_TYPTYPE(SO3::SO3_COMPOSITOR_PASS_STENCIL) },
3223 { "SO3_COMPOSITOR_PASS_RENDERSCENE", TYPVAR, "I", SCOL_TYPTYPE(SO3::SO3_COMPOSITOR_PASS_RENDERSCENE) },
3224 { "SO3_COMPOSITOR_PASS_RENDERQUAD", TYPVAR, "I", SCOL_TYPTYPE(SO3::SO3_COMPOSITOR_PASS_RENDERQUAD) },
3225 { "SO3_COMPOSITOR_PASS_RENDER_CUSTOM", TYPVAR, "I", SCOL_TYPTYPE(SO3::SO3_COMPOSITOR_PASS_RENDER_CUSTOM) },
3226 { "SO3ViewportCreate", 8, "fun [Chn SO3_BUFFER SO3_OBJECT F F F F I] SO3_VIEWPORT", SO3ViewportCreate },
3231 { "SO3ViewportSetPositionSize", 5, "fun [SO3_VIEWPORT F F F F] I", SO3ViewportSetPositionSize },
3233 { "SO3ViewportSetDeferredEnabled", 2, "fun [SO3_VIEWPORT I] I", SO3ViewportSetDeferredEnabled },
3238 { "SO3ViewportSetHDREffectAmount", 2, "fun [SO3_VIEWPORT F] I", SO3ViewportSetHDREffectAmount },
3244 { "SO3ViewportSetSSAOTechniqueParameters", 3, "fun [SO3_VIEWPORT I [[S F] r1]] I", SO3ViewportSetSSAOTechniqueParameters },
3245 { "SO3ViewportGetSSAOTechniqueParameters", 2, "fun [SO3_VIEWPORT I] [[S [S F F F]] r1]", SO3ViewportGetSSAOTechniqueParameters },
3246 { "SO3ViewportSetSSAOTechniqueParameterValue", 4, "fun [SO3_VIEWPORT I S F] I", SO3ViewportSetSSAOTechniqueParameterValue },
3247 { "SO3ViewportGetSSAOTechniqueParameterValue", 3, "fun [SO3_VIEWPORT I S] F", SO3ViewportGetSSAOTechniqueParameterValue },
3252 { "SO3ViewportGetDeferredAntiAliasingMode", 1, "fun [SO3_VIEWPORT] I", SO3ViewportGetDeferredAntiAliasingMode },
3253 { "SO3ViewportSetDeferredAntiAliasingMode", 2, "fun [SO3_VIEWPORT I] I", SO3ViewportSetDeferredAntiAliasingMode },
3254 { "SO3ViewportGetDeferredDebugMode", 1, "fun [SO3_VIEWPORT] I", SO3ViewportGetDeferredDebugMode },
3255 { "SO3ViewportSetDeferredDebugMode", 2, "fun [SO3_VIEWPORT I] I", SO3ViewportSetDeferredDebugMode },
3256 { "SO3ViewportGetPositionSize", 1, "fun [SO3_VIEWPORT] [F F F F]", SO3ViewportGetPositionSize },
3257 { "SO3ViewportGetPixelPositionSize", 1, "fun [SO3_VIEWPORT] [I I I I]", SO3ViewportGetPixelPositionSize },
3259 { "SO3ViewportSetBackgroundColor", 2, "fun [SO3_VIEWPORT I] I", SO3ViewportSetBackgroundColor },
3264 { "SO3ViewportListEnabledCompositors", 1, "fun [SO3_VIEWPORT] [S r1]", SO3ViewportListEnabledCompositors },
3268 { "SO3CompositorGetNumTechniques", 2, "fun [SO3_VIEWPORT S] I", SO3CompositorGetNumTechniques },
3283 { "SO3ViewportSetVisibilityMaskIndexEnable", 3, "fun [SO3_VIEWPORT I I] I", SO3ViewportSetVisibilityMaskIndexEnable },
3284 { "SO3ViewportGetVisibilityMaskIndexEnable", 2, "fun [SO3_VIEWPORT I] I", SO3ViewportGetVisibilityMaskIndexEnable },
3285 { "SO3ViewportGetPixelPositionFromWorldPos", 2, "fun [SO3_VIEWPORT [F F F]] [I I]", SO3ViewportGetPixelPositionFromWorldPos },
3286 { "SO3ViewportGetWorldPosFromPixelPosition", 4, "fun [SO3_VIEWPORT I I F] [[F F F] [F F F]]", SO3ViewportGetWorldPosFromPixelPosition },
3300 return PKhardpak2(m, "SO3Viewport.pkg", sizeof(natSO3Viewport) / sizeof(natSO3Viewport[0]), natSO3Viewport);
int SCOLloadViewport(mmachine m, cbmachine w)
Load the SO3Engine Viewport function.
Definition SCOLViewport.cpp:3298
MMechostr(MSKDEBUG, " > Start loading Plugin SO3Engine dll\n")
Manage highres screenshots .
int SO3ViewportWriteContent(mmachine m)
SO3ViewportWriteContent : function to write the content of a SO3_VIEWPORT into a file the size can be...
Definition SCOLViewport.cpp:3146
int SO3CompositorGetNumTechniques(mmachine m)
SO3CompositorGetNumTechniques :
Definition SCOLViewport.cpp:1719
int SO3ViewportSetShadowEnabled(mmachine m)
SO3ViewportSetShadowEnabled : set shadows enable state on a given viewport.
Definition SCOLViewport.cpp:441
int SO3ViewportSetHDRGamma(mmachine m)
SO3ViewportSetHDRGamma : set the HDR gamma correction on a given viewport.
Definition SCOLViewport.cpp:727
int SO3ViewportGetTriangleCount(mmachine m)
SO3ViewportGetTriangleCount : get the number of triangles rendered in last viewport update.
Definition SCOLViewport.cpp:252
int SO3ViewportSetVisibilityMask(mmachine m)
SO3ViewportSetVisibilityMask : Set the viewport visibility mask for exclude some objects from the ren...
Definition SCOLViewport.cpp:2174
int SO3ViewportGetDeferredAntiAliasingMode(mmachine m)
SO3ViewportGetDeferredAntiAliasingMode : get deffered Anti aliasing method used on a given viewport.
Definition SCOLViewport.cpp:845
int SO3CompositorGetEnable(mmachine m)
SO3CompositorGetEnable : Get Compositor state on a given viewport.
Definition SCOLViewport.cpp:1674
int SO3ViewportGetSSAOTechniqueParameterValue(mmachine m)
SO3ViewportGetSSAOTechniqueParameterValue : Retrieves a parameter's value for the given SSAO techniqu...
Definition SCOLViewport.cpp:2858
int SO3ViewportGetClearDepth(mmachine m)
SO3ViewportGetClearDepth : Get if the viewport clear the depth buffer or not.
Definition SCOLViewport.cpp:1286
int SO3ViewportGetPositionSize(mmachine m)
SO3ViewportGetPositionSize : Get Position and Size of on a given viewport, relative to the window.
Definition SCOLViewport.cpp:1027
int SO3ViewportGetSSAODebugMode(mmachine m)
SO3ViewportGetSSAODebugMode : Retrieves the current SSAO debug visualization mode in use.
Definition SCOLViewport.cpp:3095
int SO3ViewportSetOverlayEnable(mmachine m)
SO3ViewportSetOverlayEnable : Set the overlay visibility state on a given viewport.
Definition SCOLViewport.cpp:2093
int SO3ViewportGetPixelPositionFromWorldPos(mmachine m)
SO3ViewportGetPixelPositionFromWorldPos : Get the pixel position of a 3D world position return NIL if...
Definition SCOLViewport.cpp:2331
int SO3ViewportDestroy(mmachine m)
SO3ViewportDestroy : destroy a SO3_VIEWPORT object.
Definition SCOLViewport.cpp:173
int SO3CompositorSetEnable(mmachine m)
SO3CompositorSetEnable : Set Compositor state on a given viewport.
Definition SCOLViewport.cpp:1629
int SO3CompositorGetNumPasses(mmachine m)
SO3CompositorGetNumPasses :
Definition SCOLViewport.cpp:1811
int SO3ViewportSetHDRBlurAmount(mmachine m)
SO3ViewportSetHDRBlurAmount : set the HDR blur amount on a given viewport.
Definition SCOLViewport.cpp:641
int SO3ViewportSetDeferredAntiAliasingMode(mmachine m)
SO3ViewportSetDeferredAntiAliasingMode : set deffered anti aliasing method on a given viewport.
Definition SCOLViewport.cpp:886
int SO3ViewportAddCompositor(mmachine m)
SO3ViewportAddCompositor : Add a compositor on a given viewport.
Definition SCOLViewport.cpp:1402
int SO3ViewportSetPositionSize(mmachine m)
SO3ViewportSetPositionSize : set Position and size on a given viewport.
Definition SCOLViewport.cpp:398
int SO3ViewportSetSSAODebugMode(mmachine m)
SO3ViewportSetSSAODebugMode : Sets the SSAO debug vizualization to use.
Definition SCOLViewport.cpp:3032
int SO3CompositorGetNumTargets(mmachine m)
SO3CompositorGetNumTargets :
Definition SCOLViewport.cpp:1761
int SO3ViewportGetMaterialScheme(mmachine m)
SO3ViewportGetMaterialScheme : Get the material scheme which the viewport should use.
Definition SCOLViewport.cpp:1483
int SO3ViewportSetClearColor(mmachine m)
SO3ViewportSetClearColor : defines if the viewport clear the color buffer or not.
Definition SCOLViewport.cpp:1324
int SO3ViewportCreate(mmachine m)
SO3ViewportCreate : create a new SO3_VIEWPORT object.
Definition SCOLViewport.cpp:83
int SO3ViewportGetVisibilityMaskIndexEnable(mmachine m)
SO3ViewportGetVisibilityMaskIndexEnable : BLABLA.
Definition SCOLViewport.cpp:2289
int SO3ViewportSetClearDepth(mmachine m)
SO3ViewportSetClearDepth : defines if the viewport clear the depth buffer or not.
Definition SCOLViewport.cpp:1246
int SO3ViewportGetDeferredDebugMode(mmachine m)
SO3ViewportGetDeferredDebugMode : get deffered debug visualization on a given viewport.
Definition SCOLViewport.cpp:933
int SO3ViewportSetSSAOTechnique(mmachine m)
SO3ViewportSetSSAOTechnique : Sets the SSAO technique to use.
Definition SCOLViewport.cpp:2499
int SO3ViewportSetBackgroundColor(mmachine m)
SO3ViewportSetBackgroundColor : defines background color on a given viewport.
Definition SCOLViewport.cpp:1174
int SO3ViewportSetSSAOTechniqueParameters(mmachine m)
SO3ViewportSetSSAOTechniqueParameters : Sets all parameter for the given SSAO technique....
Definition SCOLViewport.cpp:2611
int SO3ViewportSetHDREffectAmount(mmachine m)
SO3ViewportSetHDREffectAmount : set the HDR shaft effect amount on a given viewport.
Definition SCOLViewport.cpp:684
int SO3ViewportGetSSAOFilter(mmachine m)
SO3ViewportGetSSAOFilter : Retrieves the current SSAO filter in use.
Definition SCOLViewport.cpp:2980
int SO3ViewportGetSSAOTechnique(mmachine m)
SO3ViewportGetSSAOTechnique : Retrieves the current SSAO technique in use.
Definition SCOLViewport.cpp:2559
int SO3ViewportSetSSAOEnabled(mmachine m)
SO3ViewportSetSSAOEnabled : set SSAO enable state on a given viewport SSAO is an automated ambient oc...
Definition SCOLViewport.cpp:768
int SO3ViewportGetDeferredEnabled(mmachine m)
SO3ViewportGetDeferredEnabled : get the deferred state of a given viewport.
Definition SCOLViewport.cpp:519
int SO3ViewportSetMaterialScheme(mmachine m)
SO3ViewportSetMaterialScheme : Set a material scheme on a given viewport.
Definition SCOLViewport.cpp:1444
int SO3ViewportGetOverlayEnable(mmachine m)
SO3ViewportGetOverlayEnable : Get the overlay visibility state on a given viewport.
Definition SCOLViewport.cpp:2135
int SO3ViewportGetShadowEnabled(mmachine m)
SO3ViewportGetShadowEnabled : get the shadow state of a given viewport.
Definition SCOLViewport.cpp:355
int SO3ViewportResize(mmachine m)
SO3ViewportResize : resize a given viewport.
Definition SCOLViewport.cpp:211
int SO3ViewportSetSkyEnable(mmachine m)
SO3ViewportSetSkyEnable : Set the skies visibility state on a given viewport.
Definition SCOLViewport.cpp:2011
int SO3ViewportSetSSAOTechniqueParameterValue(mmachine m)
SO3ViewportSetSSAOTechniqueParameterValue : Retrieves a parameter's value for the given SSAO techniqu...
Definition SCOLViewport.cpp:2799
int SO3ViewportListEnabledCompositors(mmachine m)
SO3ViewportListEnabledCompositors : List compositors name on a given viewport.
Definition SCOLViewport.cpp:1520
int SO3ViewportSetHDREnabled(mmachine m)
SO3ViewportSetHDREnabled : set HDR enable state on a given viewport.
Definition SCOLViewport.cpp:563
int SO3ViewportGetCamera(mmachine m)
SO3ViewportGetCamera : Get the camera attached to a given viewport.
Definition SCOLViewport.cpp:1122
int SO3ViewportSetDeferredEnabled(mmachine m)
SO3ViewportSetDeferredEnabled : set deffered render enable state on a given viewport.
Definition SCOLViewport.cpp:479
int SO3ViewportSetDeferredDebugMode(mmachine m)
SO3ViewportSetDeferredDebugMode : set deffered debug visualization on a given viewport.
Definition SCOLViewport.cpp:976
int SO3ViewportGetSSAOTechniqueParameters(mmachine m)
SO3ViewportGetSSAOTechniqueParameters : Retrieves every parameter for the given SSAO technique.
Definition SCOLViewport.cpp:2689
int SO3ViewportGetSSAOEnabled(mmachine m)
SO3ViewportGetSSAOEnabled : get the SSAO state of a given viewport.
Definition SCOLViewport.cpp:807
int SO3ViewportGetSkyEnable(mmachine m)
SO3ViewportGetSkyEnable : Get the skies visibility state on a given viewport.
Definition SCOLViewport.cpp:2053
int SO3ViewportGetBatchCount(mmachine m)
SO3ViewportGetBatchCount : get the number of batch rendered in last viewport update.
Definition SCOLViewport.cpp:286
int SO3ViewportGetPixelPositionSize(mmachine m)
SO3ViewportGetPixelPositionSize : Get Position and Size in pixels of on a given viewport.
Definition SCOLViewport.cpp:1076
int SO3ViewportGetBackgroundColor(mmachine m)
SO3ViewportGetBackgroundColor : Get the background color on a given viewport.
Definition SCOLViewport.cpp:1210
int SO3ViewportRemoveCompositor(mmachine m)
SO3ViewportRemoveCompositor : Remove a compositor from a given viewport.
Definition SCOLViewport.cpp:1580
int SO3ViewportSetVisibilityMaskIndexEnable(mmachine m)
SO3ViewportSetVisibilityMaskIndexEnable : BLABLA.
Definition SCOLViewport.cpp:2251
int SO3ViewportGetHDREnabled(mmachine m)
SO3ViewportGetHDREnabled : get the HDR state of a given viewport.
Definition SCOLViewport.cpp:602
int SO3ViewportGetWorldPosFromPixelPosition(mmachine m)
SO3ViewportGetWorldPosFromPixelPosition : Get the world position of a 2D pixel position.
Definition SCOLViewport.cpp:2398
int SO3ViewportGetVisibilityMask(mmachine m)
SO3ViewportGetVisibilityMask : Get the current viewport visibility flag.
Definition SCOLViewport.cpp:2214
int SO3ViewportGetClearColor(mmachine m)
SO3ViewportGetClearColor : Get if the viewport clear the color buffer or not.
Definition SCOLViewport.cpp:1364
int SO3ViewportSetSSAOFilter(mmachine m)
SO3ViewportSetSSAOFilter : Sets the SSAO filter to use.
Definition SCOLViewport.cpp:2919
int SO3ViewportGetPriority(mmachine m)
SO3ViewportGetPriority : get the priority (z order) of a given viewport.
Definition SCOLViewport.cpp:320
@ SO3_COMPOSITOR_PASS_RENDERQUAD
Definition SO3CompositorPass.h:43
@ SO3_COMPOSITOR_PASS_RENDERSCENE
Definition SO3CompositorPass.h:42
@ SO3_COMPOSITOR_PASS_RENDER_CUSTOM
Definition SO3CompositorPass.h:44
Generated by 1.9.8