SLContext Struct Reference

#include <Scene.h>

List of all members.

Public Member Functions

SI_Void  AddOrphan (CSLTemplate *in_pOrphanTemplate)

Public Attributes

CSLTemplate m_pCurrentTemplate
CSLModel m_pCurrentModel
CSLScene m_pScene
CSLMaterialLibrary m_pMaterialLibrary
CSLXSIMaterial m_pCurrentMaterial
CSIBCArray< CSLTemplate * > *  m_pOrphanList
void *  m_pTemplateUserData
CSLUnresolvedMap *  m_pUnresolvedMap
CSLModelMap *  m_pModelMap
CSLImageLibrary m_pImageLibrary
CSLImage m_pCurrentImage
CSLXSIShader m_pCurrentXSIShader
void *  m_pUserData


Detailed Description

This struct is used to keep track of things when a scene if first constructed during a Load call. The SLContext is passed to template callback handlers so the callbacks know the current model, the current parent etc.


Member Function Documentation

SI_Void AddOrphan ( CSLTemplate in_pOrphanTemplate  ) 

Add a new orphan template to the global orphan list. This list will be resolved a the very end of the load function


Member Data Documentation

CSLTemplate* m_pCurrentTemplate

The current template

CSLModel* m_pCurrentModel

The current model

CSLScene* m_pScene

Pointer to the scene

CSLMaterialLibrary* m_pMaterialLibrary

Pointer to the material library

CSLXSIMaterial* m_pCurrentMaterial

The current material

CSIBCArray<CSLTemplate *>* m_pOrphanList

The global orphan list

void* m_pTemplateUserData

User data associated with templates

CSLUnresolvedMap* m_pUnresolvedMap

The unresolved template map

CSLModelMap* m_pModelMap

A list of all models

CSLImageLibrary* m_pImageLibrary

A pointer to the image library

CSLImage* m_pCurrentImage

The current image

CSLXSIShader* m_pCurrentXSIShader

The current shader

void* m_pUserData

Generic user data


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