#include
<MUniformParameterList.h>
List of
all members.
Detailed Description
Uniform Parameter.
MUniformParameterArray specify the list of uniform shader
parameters 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.
Constructor & Destructor Documentation
MUniformParameterList::MUniformParameterList |
( |
|
) |
|
Create a new, empty list of uniform parameters.
MUniformParameterList::~MUniformParameterList |
( |
|
) |
|
Member Function Documentation
Append a new parameter to this end of this list.
- Parameters:
-
[in] |
element |
The new parameter to append |
int MUniformParameterList::length |
( |
|
) |
const |
Get the number of parameters in this list.
- Returns:
- The number of parameters in this list.
void MUniformParameterList::setLength |
( |
int |
n |
) |
|
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
Get the nth parameter in this list.
- Parameters:
-
[in] |
n |
the index of the element to return |
- Returns:
- The nth parameter in the list