OpenMayaRender.MVertexBufferDescriptor Class Reference

Class Description

Describes properties of a vertex buffer.
+ Inheritance diagram for OpenMayaRender.MVertexBufferDescriptor:

Public Member Functions

__init__ ()
 

Properties

 dataType
 
 dataTypeSize
 
 dimension
 
 name
 
 offset
 
 semantic
 
 semanticName
 
 stride
 

Constructor & Destructor Documentation

OpenMayaRender.MVertexBufferDescriptor.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) 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.

The documentation for this class was generated from the following file:
  • D:/Maya-MD-Merge/input/python/2.0/OpenMayaRender.py