Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::graphics::shapes::SubdivisionShape::Subdivision Class Reference

A class that stores a subdivision and its data for a subdivision shape. More...

#include <omGraphicsSubdivisionShape.h>

Public Member Functions

 Subdivision (GraphicsContext *context, Size numVertices, Size numIndices)
 
virtual ~Subdivision ()
 

Public Attributes

MeshShape shape
 The mesh shape that represents this subdivision. More...
 
MeshGroup group
 A mesh group that stores the subdivision group for the shape. More...
 
VertexBufferSet vertexBuffers
 A vertex buffer set that stores the vertex buffers for this subdivision. More...
 
IndexBuffer indexBuffer
 An index buffer that contains the indices used for the subdivision. More...
 
VertexBuffer vertexPositions
 The vertex positions for the subdivision. More...
 
VertexBuffer vertexNormals
 The vertex normals for the subdivision. More...
 
VertexBuffer vertexUVs
 The vertex uvs for the subdivision. More...
 
Real maxPixelRadius
 The maximum screen-space radius where this subdivision looks good. More...
 

Detailed Description

A class that stores a subdivision and its data for a subdivision shape.

Constructor & Destructor Documentation

om::graphics::shapes::SubdivisionShape::Subdivision::Subdivision ( GraphicsContext context,
Size  numVertices,
Size  numIndices 
)
inline
virtual om::graphics::shapes::SubdivisionShape::Subdivision::~Subdivision ( )
inlinevirtual

Member Data Documentation

MeshShape om::graphics::shapes::SubdivisionShape::Subdivision::shape

The mesh shape that represents this subdivision.

MeshGroup om::graphics::shapes::SubdivisionShape::Subdivision::group

A mesh group that stores the subdivision group for the shape.

VertexBufferSet om::graphics::shapes::SubdivisionShape::Subdivision::vertexBuffers

A vertex buffer set that stores the vertex buffers for this subdivision.

IndexBuffer om::graphics::shapes::SubdivisionShape::Subdivision::indexBuffer

An index buffer that contains the indices used for the subdivision.

VertexBuffer om::graphics::shapes::SubdivisionShape::Subdivision::vertexPositions

The vertex positions for the subdivision.

VertexBuffer om::graphics::shapes::SubdivisionShape::Subdivision::vertexNormals

The vertex normals for the subdivision.

VertexBuffer om::graphics::shapes::SubdivisionShape::Subdivision::vertexUVs

The vertex uvs for the subdivision.

Real om::graphics::shapes::SubdivisionShape::Subdivision::maxPixelRadius

The maximum screen-space radius where this subdivision looks good.


The documentation for this class was generated from the following file: