Python API 2.0 Reference
|
Public Member Functions | |
def | __init__ () |
Static Public Member Functions | |
def | __new__ () |
Properties | |
dataType = property(...) | |
dataTypeSize = property(...) | |
dimension = property(...) | |
name = property(...) | |
offset = property(...) | |
semantic = property(...) | |
semanticName = property(...) | |
stride = property(...) | |
Describes properties of a vertex buffer.
def OpenMayaRender.MVertexBufferDescriptor.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
|
static |
The data type of the buffer. See MGeometry.dataTypeString() for a list of valid data types.
|
static |
The size in bytes of the data type of the buffer.
|
static |
The dimension of the buffer.
|
static |
The name of the buffer. The buffer name is used to determine which render item this buffer belongs to. This name is typically set by the evaluator of the geometry.
|
static |
The offset of the vertex element in an interleaved vertex buffer. The value is currently only valid in the context of MPxShaderOverride.draw(), and only supported when using custom client buffers via resourceHandle(long).
|
static |
The semantic of the buffer. See MGeometry.semanticString() for a list of valid semantic types.
|
static |
The semantic name of the buffer. The semanticName is used to identify a custom vertex stream request in order to fill the stream with the appropriate data requested by a shader override.
|
static |
The number of points per primitive.