Python API 2.0 Reference
OpenMayaRender.MVertexBufferDescriptor Class Reference
+ Inheritance diagram for OpenMayaRender.MVertexBufferDescriptor:

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(...)
 

Detailed Description

Describes properties of a vertex buffer.

Constructor & Destructor Documentation

def OpenMayaRender.MVertexBufferDescriptor.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMayaRender.MVertexBufferDescriptor.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.

Property Documentation

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