MGeometryRequirements Class Reference
[OpenMayaRender - API module for rendering]

#include <MGeometryRequirements.h>

List of all members.


Detailed Description

Image manipulation.

MGeometryRequirements stores the collection of MGeometryRequirementsData arrays which describe a Maya surface, including per-component data such as UV mapping and colour.

Examples:

D3DGeometryItem.cpp, hlslShader.cpp, and OpenGLViewportRenderer.cpp.


Public Member Functions

 MGeometryRequirements ()
 ~MGeometryRequirements ()
void addPosition ()
void addComponentId ()
void addNormal ()
void addTexCoord (const MString &uvSetName)
void addTangent (const MString &uvSetName)
void addBinormal (const MString &uvSetName)
void addColor (const MString &colorSetName)

Friends

class MGeometryManager
class MPxHardwareShader

Constructor & Destructor Documentation

MGeometryRequirements::MGeometryRequirements (  ) 

Default constructor. Initialized to no requirements.

MGeometryRequirements::~MGeometryRequirements (  ) 

Destructor


Member Function Documentation

void MGeometryRequirements::addPosition (  ) 

Add position to the set of required elements.

Examples:

void MGeometryRequirements::addComponentId (  ) 

Add component id to the set of required elements.

Examples:

void MGeometryRequirements::addNormal (  ) 

Add normal to the set of required elements.

Examples:

void MGeometryRequirements::addTexCoord ( const MString name  ) 

Add a texture coordinate set to the list of required elements.

Parameters:
[in] name the name of the uv set to add
Examples:

void MGeometryRequirements::addTangent ( const MString name  ) 

Add a tangent set to the list of required elements.

Parameters:
[in] name the name of the uv set to add tangent data for
Examples:

void MGeometryRequirements::addBinormal ( const MString name  ) 

Add a binormal set to the list of required elements.

Parameters:
[in] name the name of the uv set to add binormal data for
Examples:

void MGeometryRequirements::addColor ( const MString name  ) 

Add a color set to the list of required elements.

Parameters:
[in] name the name of the color set to add
Examples:


Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. Generated with doxygen 1.5.6