Om
1.0.0
A universal framework for multimedia simulation
|
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... | |
A class that stores a subdivision and its data for a subdivision shape.
|
inline |
|
inlinevirtual |
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.