Geometric data cache.
More...
#include <MVaryingParameterList.h>
Geometric data cache.
MVaryingParameterList specify the surface component level data used by a hardware shader, allowing Maya to handle setting up the node and user interfaces to the data, the population and access of cached data, etc.
- Examples:
- dx11Shader/dx11Shader.cpp, dx11Shader/dx11Shader.h, glslShader/GLSLShader.h, and hlslShader/hlslShader.cpp.
Get the number of parameters in this list.
- Returns
- The number of parameters in this list.
- Examples:
- dx11Shader/dx11Shader.cpp.
Set the number of parameters in this list.
If this is greater than the current number of parameters in the list, the caller is responsible for setting the new parameters to valid values using setElement.
- Parameters
-
[in] | n | The number of parameters in this list. |
Get the nth parameter in this list.
- Parameters
-
[in] | n | The index of the element to return |
- Returns
- The nth parameter in the list
- Examples:
- dx11Shader/dx11Shader.cpp.
Set the nth parameter in this list.
- Parameters
-
[in] | n | The index of the element to set |
[in] | p | The value to set |
- Returns
- The nth parameter in the list
Assignment operator.
- Parameters
-
The documentation for this class was generated from the following files:
- MVaryingParameterList.h
- MVaryingParameterList.cpp