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