Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CSLShaderInstanceData Class Reference

Defines how a shader is shared beetween models. More...

#include <ShaderInstanceData.h>

Inheritance diagram for CSLShaderInstanceData::

CSLTemplate CSIBCNode List of all members.

Public Methods


Detailed Description

Defines how a shader is shared beetween models.


Constructor & Destructor Documentation

CSLShaderInstanceData::CSLShaderInstanceData CSLScene   in_pScene,
CSLModel   in_pModel,
CdotXSITemplate   in_pTemplate
 

Constructor

Parameters:
in_pScene  Parent scene
in_pModel  Parent model
in_pTemplate  Refered template
Returns:
an instance of CSLShaderInstanceData

CSLShaderInstanceData::~CSLShaderInstanceData  
 

Destructor


Member Function Documentation

CSLVariantParameter * CSLShaderInstanceData::AddParameter  
 

Add a parameter to the parameter list

Returns:
CSLParameter Pointer to the newly added parameter

SI_Error CSLShaderInstanceData::ClearParameters  
 

Removes all parameters from the parameter list

Returns:
SI_Error Whether or not the list could be cleared

CSLVariantParameter * CSLShaderInstanceData::ConnectParameter CSLVariantParameter   in_pToConnect
 

Adds an exisiting parameter to the parameter list

Parameters:
in_pToConnect  Pointer to the parameter to add
Returns:
The added parameter or null if it already exists in the list

SI_Int CSLShaderInstanceData::GetParameterCount  
 

Gets the total number of parameters

Returns:
SI_Int Number of parameters

CSLVariantParameter ** CSLShaderInstanceData::GetParameterList  
 

Gets a pointer to the internally-stored parameter pointer list

Returns:
CSLParameter Pointer to the list

CSLModel * CSLShaderInstanceData::GetReference  
 

Get the referenced Model.

Returns:
CSLModel Pointer to referenced Model or null if there's none

CSLAnimatableType * CSLShaderInstanceData::ParameterFromName SI_Char *    in_szName [virtual]
 

Searches for a parameter by name

Parameters:
in_szName  Name of the parameter to look for
Returns:
CSLAnimatableType* Pointer to the found parameter or null if not found

Reimplemented from CSLTemplate.

CSLAnimatableType * CSLShaderInstanceData::ParameterFromType EFCurveType    in_Type,
SI_Char *    in_szParameterName
[virtual]
 

Searches for a parameter by name and type

Parameters:
in_Type  Type of the parameter to look for
in_szParameterName  Name of the parameter to look for
Returns:
CSLAnimatableType* Pointer to the found parameter or null if not found

Reimplemented from CSLTemplate.

SI_Error CSLShaderInstanceData::RemoveParameter CSLVariantParameter   in_pToRemove
 

Removes a parameter from the parameter list

Parameters:
in_pToRemove  Pointer to the parameter to remove
Returns:
SI_Error Whether or not the parameter could be removed

SI_Error CSLShaderInstanceData::RemoveParameter SI_Int    in_nIndex
 

Removes a parameter from the parameter list

Parameters:
in_nIndex  Index of the parameter to remove
Returns:
SI_Error Whether or not the parameter could be removed

SI_Void CSLShaderInstanceData::SetReference CSLModel   in_pNewModel
 

Set the referenced Model.

Parameters:
in_pReferedModel  Pointer to refered Model.

SI_Error CSLShaderInstanceData::Synchronize   [virtual]
 

Commits semantic layer data to the dotXSI template

Returns:
SI_Error Whether or not data was commited correctly

Reimplemented from CSLTemplate.

CSLTemplate::ETemplateType CSLShaderInstanceData::Type   [inline, virtual]
 

Returns the type of this template.

Returns:
ETemplateType The type of this template (XSI_SHADER_INSTANCE_DATA)

Reimplemented from CSLTemplate.


The documentation for this class was generated from the following files: © Copyright 2001-2003 Avid Technology, Inc. All rights reserved.

© Copyright 2001-2003 Avid Technology, Inc. All rights reserved.