IFXSceneGraph

This interface is used to initialize and manage the scenegraph subsystem. The IFXSceneGraph interface is derived from the IFXMarker and IFXUnknown interface and is supported by the CIFXSceneGraph object.

When to Use

This interface is used primarily to obtain interfaces to the scenegraph's resource palettes. The palette interfaces are essential for initializing, querying, and maintaining the hierarchy and parameters of the different shared resource assets in the scene.

Interface Methods

Description

GetPalette

Gets the IFXPalettes

GetDebugFlags

Gets the number of debug flags [runtime]

SetDebugFlags

Sets the number of debug flags [runtime]

CurrentMark

Indicates which objects are marked [runtime]

UnmarkAll

Unmarks all marked objects [runtime]

GetMatrixStack

Gets the matrix stack [runtime]

GetMeshFactory

Gets the IFXMeshFactory [runtime]

Initialize

Initializes the scenegraph

GetParticleShader

Gets the particle shader

GetCoreServices

Gets CoreServices

GetTextureManager

Gets the texture manager

GetAnimationEnabledState

Queries whether animation is enabled

SetAnimationEnabledState

Indicates whether animation is enabled


IFXSceneGraph::GetPalette(EIFXPalette palette, IFXPalette** ppPalette)

This method gets the scenegraph palettes.

Parameters:

palette

The type of IFXPalette: LIGHT, MATERIAL, MODEL, SHADER, TEXTURE, MOTION, NODE, MIXER, NUMBER_OF_PALETTES

ppPalette

Handle to the IFXPalette

Return Values


IFXSceneGraph::GetDebugFlags(U32* puOutDebugFlags)

This method gets the number of debug flags.

Parameters:

puOutDebugFlags

Number of debug flags

Return Values


IFXSceneGraph::SetDebugFlags(U32 uInDebugFlags)

This method sets the number of debug flags.

Parameters:

uInDebugFlags

Number of debug flags

Return Values


IFXSceneGraph::CurrentMark()

This method indicates which objects are marked. See IFXMarker.

Parameters:

None

Return Values


IFXSceneGraph::UnmarkAll()

This method unmarks all marked objects. See IFXMarker.

Parameters:

None

Return Values


IFXSceneGraph::GetMatrixStack()

This method gets the matrix stack.

Parameters:

None

Return Values

IFXSGMatrixStack*


IFXSceneGraph::GetMeshFactory(IFXMeshFactory** ppMeshFactory)

This method gets the IFXMeshFactory.

Parameters:

ppMeshFactory

Specifies the address of a pointer to an IFXMeshFactory

Return Values


IFXSceneGraph::Initialize(IFXCoreServices *pCS)

This method initializes the scenegraph.

Parameters:

pCS

Pointer to the IFXCoreServices

Return Values


IFXSceneGraph::GetParticleShader( IFXREFIID riid, void** ppv )

This method gets the particle shader.

Parameters:

riid

Reference ID

ppv

Handle to the particle shader

Return Values


IFXSceneGraph::GetCoreServices(IFXCoreServices **ppCS)

This method calls CoreServices.

Parameters:

ppCS

Pointer to the IFXCoreServices

Return Values


IFXSceneGraph::GetTextureManager(IFXTextureManager** ppTextureManager)

This method gets the IFXTextureManager.

Parameters:

ppTextureManager

Pointer to the IFXTextureManager

Return Values


IFXSceneGraph::GetAnimationEnabledState( BOOL* pState )

This method queries whether animation is enabled.

Parameters:

pState

Pointer to indicator of whether animation is enabled

Return Values


IFXSceneGraph::SetAnimationEnabledState( BOOL State )

This method indicates whether animation is enabled.

Parameters:

State

Indicator of whether animation is enabled

Return Values

 

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.