MVertexBufferDescriptorList Class Reference

#include <MHWGeometry.h>

Class Description

Public Member Functions

 MVertexBufferDescriptorList ()
 Constructor.
 
 ~MVertexBufferDescriptorList ()
 Destructor.
 
int length () const
 Get the number of descriptors in the list. More...
 
bool getDescriptor (int index, MVertexBufferDescriptor &desc) const
 Gets the descriptor at the requested index and copies data into desc. More...
 
bool append (const MVertexBufferDescriptor &desc)
 Add a descriptor to the list. More...
 
bool removeAt (int index)
 Remove a descriptor from the list and delete it. More...
 
void clear ()
 Clears the list.
 

Static Public Member Functions

static const char * className ()
 Returns the name of this class. More...
 

Member Function Documentation

int length ( ) const
bool getDescriptor ( int  index,
MVertexBufferDescriptor desc 
) const

Gets the descriptor at the requested index and copies data into desc.

Parameters
[in]indexThe index of the descriptor to retrieve
[out]descThe descriptor to populate with the retrieved data
Returns
True on success
+ Examples:
bool append ( const MVertexBufferDescriptor desc)

Add a descriptor to the list.

Creates and stores a copy which is owned by the list.

Parameters
[in]descThe descriptor to add.
Returns
True on success
bool removeAt ( int  index)

Remove a descriptor from the list and delete it.

Parameters
[in]indexThe index of the descriptor to remove
Returns
True on success
const char * className ( )
static

Returns the name of this class.

Returns
The name of this class.

The documentation for this class was generated from the following files:
  • MHWGeometry.h
  • MHWGeometry.cpp