Python API 2.0 Reference: OpenMayaRender.MVertexBufferDescriptor Class Reference

+ Inheritance diagram for OpenMayaRender.MVertexBufferDescriptor:

Public Member Functions

__init__ ()
 

Properties

 dataType
 
 dataTypeSize
 
 dimension
 
 name
 
 offset
 
 semantic
 
 semanticName
 
 stride
 

Detailed Description

Describes properties of a vertex buffer.

Constructor & Destructor Documentation

OpenMayaRender.MVertexBufferDescriptor.__init__ ( )
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Property Documentation

OpenMayaRender.MVertexBufferDescriptor.dataType
static
 The data type of the buffer.
 See MGeometry.dataTypeString() for a list of valid data types.
OpenMayaRender.MVertexBufferDescriptor.dataTypeSize
static
 The size in bytes of the data type of the buffer.
OpenMayaRender.MVertexBufferDescriptor.dimension
static
 The dimension of the buffer.
OpenMayaRender.MVertexBufferDescriptor.name
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.
OpenMayaRender.MVertexBufferDescriptor.offset
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).
OpenMayaRender.MVertexBufferDescriptor.semantic
static
 The semantic of the buffer.
 See MGeometry.semanticString() for a list of valid semantic types.
OpenMayaRender.MVertexBufferDescriptor.semanticName
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.
OpenMayaRender.MVertexBufferDescriptor.stride
static
 The number of points per primitive.