Public Attributes
tagXSI_RTS_SystemParams Struct Reference

Detailed Description

The XSI_RTS_SystemParams structure.

Holds the system parameters to be passed to all shader callbacks. This is a legacy structure returned by the IRTSExecutionState::GetSystemParams function.

Parameters:
m_lNbParamsNumber of parameters
m_lAppIDApplication ID
m_lRTSVersionRealtime shader protocol version.
m_lContextUniquely identifies the viewport during a Softimage session. Each viewport (regular or object view) has an XGS context associated with it. m_lContext is a handle to the context object cast to a LONG
m_pShaderHandleShader instance handle ( CRef handle to the Shader object). You can use the C++ API to access it.
m_pObjectHandleDeprecated v7.0. For RTS v3.0 shaders you can get the object directly via IRTSExecutionState::GetPrimitive
m_pMaterialHandleDeprecated v7.0. For RTS v3.0 shaders you can get the material directly via IRTSExecutionState::GetMaterial
m_pGSHandle to the graphic system ( CRef handle to the GraphicSequencer object). You can use the C++ API to access it.
m_pGLExtThe OpenGL extension wrapper flags indicate whether a particular OpenGL extension is used. Simply test the appropriate field in that structure. For example, if you want to test whether your hardware supports the GL_ARB_multitexture extension, then simply check if m_pGS->_GL_ARB_multitexture is set to TRUE.
m_pGLExtFuncsThe OpenGL extension wrapper functions can be called directly from that structure. For example, if you want to call the glClientActiveTextureARB extension function, just use m_pGLExtFuncs->glClientActiveTextureARB.
m_lShaderFlagsShader flags. See Shader Flag Defines .
m_lObjectFlagsObject flags. See Object Flag Defines .
m_m4x4ObjectPoseThe object pose is a 4x4 matrix containing the global transformation of the object.
m_SceneDataThe scene data is a structure that contains camera and light information. See tagXSI_RTS_SceneData.
See also:
IRTSExecutionState::GetSystemParams, IRTSExecutionState, Define , cus_rtshad_SystemParameters System Parameters

#include <XSI_rtshaders.h>

List of all members.

Public Attributes

ULONG m_lNbParams
ULONG m_lAppID
ULONG m_lRTSVersion
RTSContext m_lContext
void * m_pShaderHandle
void * m_pObjectHandle
void * m_pMaterialHandle
void * m_pGS
XGSExtensionsGLm_pGLExt
XGSGLExtensionsFuncsm_pGLExtFuncs
ULONG m_lShaderFlags
ULONG m_lObjectFlags
float m_m4x4ObjectPose [16]
XSI_RTS_SceneDatam_SceneData

Member Data Documentation

ULONG m_lNbParams

Number of parameters

ULONG m_lAppID

Application ID

Realtime shader protocol version

RTSContext m_lContext

Context

Shader instance handle (CRef)

Owner object handle (CRef)

Owner material handle (CRef)

void* m_pGS

Handle to the graphic system (CRef)

Softimage OpenGL extension wrapper flags

Softimage OpenGL extension wrapper functions

Shader flags

Object flags

float m_m4x4ObjectPose[16]

Object's transformation matrix

Scene Data


The documentation for this struct was generated from the following file: