SO3Engine/SCOLPack/SCOLViewport.cpp File Reference

#include "SO3SCOL.h"
#include "../SO3Material/SO3Compositor.h"
#include "../SO3Material/SO3Material.h"
#include "../SO3Renderer/SO3Viewport.h"
#include "../SO3Renderer/SO3Window.h"
#include "../SO3Renderer/SO3Root.h"
#include "../SO3SceneGraph/SO3Camera.h"
#include "../SO3SceneGraph/SO3Entity.h"
#include "../SO3SceneGraph/SO3Scene.h"

Go to the source code of this file.

Defines

#define NBVIEWPORTPKG   29

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.
int SCOLloadViewport (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLfreeViewport ()
 free the SO3Engine Viewport function

Variables

char * VIEWPORTname [NBVIEWPORTPKG]
int(* VIEWPORTFunc [NBVIEWPORTPKG])(mmachine m)
int VIEWPORTnarg [NBVIEWPORTPKG]
char * VIEWPORTType [NBVIEWPORTPKG]

Define Documentation

#define NBVIEWPORTPKG   29

Nb of Scol functions or types

Definition at line 1313 of file SCOLViewport.cpp.


Function Documentation

int SCOLfreeViewport (  ) 

free the SO3Engine Viewport function

Parameters:
m : The VM

Definition at line 1479 of file SCOLViewport.cpp.

int SCOLloadViewport ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 1469 of file SCOLViewport.cpp.


Variable Documentation

int(* VIEWPORTFunc[NBVIEWPORTPKG])(mmachine m)

Pointers to C functions that manipulate the VM for each scol function previously defined

Definition at line 1356 of file SCOLViewport.cpp.

char* VIEWPORTname[NBVIEWPORTPKG]

Scol function names

Definition at line 1319 of file SCOLViewport.cpp.

int VIEWPORTnarg[NBVIEWPORTPKG]

Nb of arguments of each scol function

Definition at line 1393 of file SCOLViewport.cpp.

char* VIEWPORTType[NBVIEWPORTPKG]

Prototypes of the scol functions

Definition at line 1430 of file SCOLViewport.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:32 2011 for SO3Engine by  doxygen 1.6.3