Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Phx::GraphicsEngine::GeometryDescription Class Reference

A Description of a Geometry element in the graphics engine. More...

#include <PhxGraphicsEngine.h>

Inheritance diagram for Phx::GraphicsEngine::GeometryDescription:

Phx::Description Phx::LockedPtrInterface< Description > List of all members.

Public Types

typedef std::set< uint32_t > IndexSetType
 Typedef for STL set of material indices.

Public Member Functions

virtual void mesh (const Ptr< const MeshDescription > &mesh)=0
 Sets the mesh description to be used by the geometry.
virtual Ptr< const MeshDescriptionmesh (void) const =0
 Returns the mesh description to be used by the geometry.
virtual IndexSetType materialIndices (void) const =0
 Returns a set containing the indices for which valid material descriptions have been set.
virtual void material (uint32_t index, const Ptr< const MaterialDescription > &material)=0
 Sets a material description for the Geometry material attribute.
virtual Ptr< const MaterialDescriptionmaterial (uint32_t index) const =0
 Returns the material description that will be used for the given index.

Static Public Attributes

static const Description::Type DESCRIPTION_TYPE
static const String DESCRIPTION_TYPE_NAME

Detailed Description

A Description of a Geometry element in the graphics engine.

Geometry is the abstract representation of a movable piece of geometry in the engine. This description contains values for the Geometry attributes, including mesh and material settings.


The documentation for this class was generated from the following file:
Generated on Mon Jul 10 19:45:29 2006 for Phoenix OSFS by  doxygen 1.4.2