CSLXSIShaderCompound Class Reference
This class represents an XSI_ShaderCompound template.
More...#include <XSIShaderCompound.h>
Inheritance diagram for CSLXSIShaderCompound:
List of all members.
Detailed Description
This class represents an XSI_ShaderCompound template.
Defines a shader compound (see the XSI_ShaderCompound template reference).
- Since:
- dotXSI 6.0
Constructor & Destructor Documentation
Constructor
- Parameters:
-
| [in] |
in_pScene |
Parent scene |
| [in] |
in_pModel |
Parent model |
| [in] |
in_pTemplate |
Refered template |
| [in] |
in_pParentShader |
Parent shader |
Member Function Documentation
Returns the type of this template
- Return values:
-
Implements CSLTemplate.
Commits the current template information
- Returns:
- Whether or not the commit was successful
Reimplemented from CSLTemplate.
Returns the Category value
- Returns:
- Category
| SI_Void SetCategory |
( |
SI_Char * |
in_pValue |
) |
|
Sets the Category value
- Parameters:
-
| [in] |
in_pValue |
new Category value |
| SI_Char* GetDescription |
( |
|
) |
|
Returns the Description value
- Returns:
- Description
| SI_Void SetDescription |
( |
SI_Char * |
in_pValue |
) |
|
Sets the Description value
- Parameters:
-
| [in] |
in_pValue |
new Description value |
Returns the Author value
- Returns:
- Author
| SI_Void SetAuthor |
( |
SI_Char * |
in_pValue |
) |
|
Sets the Author value
- Parameters:
-
| [in] |
in_pValue |
new Author value |
Returns the Date value
- Returns:
- Date
| SI_Void SetDate |
( |
SI_Char * |
in_pValue |
) |
|
Sets the Date value
- Parameters:
-
| [in] |
in_pValue |
new Date value |
| SI_Char* GetVersionTag |
( |
|
) |
|
Returns the VersionTag value
- Returns:
- VersionTag
| SI_Void SetVersionTag |
( |
SI_Char * |
in_pValue |
) |
|
Sets the VersionTag value
- Parameters:
-
| [in] |
in_pValue |
new VersionTag value |
| SI_Int GetVersionMajor |
( |
|
) |
|
Returns the VersionMajor value
- Returns:
- VersionMajor
| SI_Void SetVersionMajor |
( |
SI_Int |
in_nValue |
) |
|
Sets the VersionMajor value
- Parameters:
-
| [in] |
in_nValue |
new VersionMajor value |
| SI_Int GetVersionMinor |
( |
|
) |
|
Returns the VersionMinor value
- Returns:
- VersionMinor
| SI_Void SetVersionMinor |
( |
SI_Int |
in_nValue |
) |
|
Sets the VersionMinor value
- Parameters:
-
| [in] |
in_nValue |
new VersionMinor value |
Returns the PPGLogic value
- Returns:
- PPGLogic
| SI_Void SetPPGLogic |
( |
SI_Char * |
in_pValue |
) |
|
Sets the PPGLogic value
- Parameters:
-
| [in] |
in_pValue |
new PPGLogic value |
| SI_Char* GetPPGLogicLanguage |
( |
|
) |
|
Returns the PPGLogicLanguage value
- Returns:
- PPGLogicLanguage
| SI_Void SetPPGLogicLanguage |
( |
SI_Char * |
in_pValue |
) |
|
Sets the PPGLogicLanguage value
- Parameters:
-
| [in] |
in_pValue |
new PPGLogicLanguage value |
| SI_Int GetBackgroundColor |
( |
|
) |
|
Returns the BackgroundColor value
- Returns:
- BackgroundColor
| SI_Void SetBackgroundColor |
( |
SI_Int |
in_nValue |
) |
|
Sets the BackgroundColor value
- Parameters:
-
| [in] |
in_nValue |
new BackgroundColor value |
Sets the shader parent of this template.
- Parameters:
-
| [in] |
in_pParentShader |
Pointer to the parent shader. |
Returns the shader parent of this template.
- Returns:
- Pointer to the parent shader.
Adds a shader compound port to the shader compound port list
- Returns:
- The added shader compound port
| SI_Error RemoveShaderCompoundPort |
( |
SI_Int |
in_nIndex |
) |
|
Removes a shader compound port from the shader compound port list
- Parameters:
-
| [in] |
in_nIndex |
Index of the shader compound port to remove |
Removes a shader compound port from the shader compound port list
- Parameters:
-
| [in] |
in_pToRemove |
The shader compound port to remove |
Returns a CSLXSIShaderCompoundPort object by index.
- Parameters:
-
| [in] |
in_nIndex |
Index of the shader compound port to get |
- Returns:
- The CSLXSIShaderCompoundPort object.
| SI_Int GetShaderCompoundPortCount |
( |
|
) |
|
Returns the number of shader compound port in the shader compound port list
- Returns:
- The number of shader compound port in the shader compound port list
Deletes all the shader compound port form the shader compound port list
Returns a pointer to the internally-stored shader compound port pointer list
- Returns:
- Pointer to the list
Adds an exisiting shader compound port to the shader compound port list
- Parameters:
-
| [in] |
in_pToConnect |
Pointer to the shader compound port to add |
- Returns:
- The added shader compound port
Searches for a given shader compound port
- Parameters:
-
| [in] |
in_szPortName |
Name of the shader compound port to look for |
- Returns:
- Pointer to the shader compound port or null if it cannot be found
Adds a shader to the shader list
- Returns:
- Pointer to the newly added shader
| SI_Error RemoveShader |
( |
SI_Int |
in_nIndex |
) |
|
Removes a shader from the shader list
- Parameters:
-
| [in] |
in_nIndex |
Index of the shader to remove |
- Returns:
- Whether or not the shader could be removed
Removes a shader from the shader list
- Parameters:
-
| [in] |
in_pToRemove |
Pointer to the shader to remove |
- Returns:
- Whether or not the shader could be removed
Removes all connections points from the shader list
- Returns:
- Whether or not the list could be cleared
Adds an exisiting shader to the shader list
- Parameters:
-
| [in] |
in_pToConnect |
Pointer to the shader to add |
- Returns:
- The added shader or null if it already exists in the list
Returns a pointer to the internally-stored shader pointer list
- Returns:
- Pointer to the list
| SI_Int GetShaderCount |
( |
|
) |
|
Returns the total number of Shaders
- Returns:
- Number of Shaders
Searches for a given shader
- Parameters:
-
| [in] |
in_szShaderName |
Name of the shader to look for |
- Returns:
- Pointer to the shader or null if it cannot be found
The documentation for this class was generated from the following file: