A renderable triangle strip mesh. More...
#include <TriStripMesh.h>
Public Member Functions | |
TriStripMesh (const VertexLayouts::VertexLayout &vertexLayout, Rendering::GlBufferPool &glBufferPool, const void *pVertexData, size_t vertexDataSize, const void *pIndexData, size_t indexDataSize, u32 numOfIndices, std::vector< u32 > triStripLengths, const std::string &debugName) | |
const bool | UsesIndices () const |
const u32 | GetStripLength (u32 stripIndex) const |
const size_t | GetStripCount () const |
Public Member Functions inherited from Eegeo::Rendering::Mesh | |
Mesh (const VertexLayouts::VertexLayout &vertexLayout, Rendering::GlBufferPool &glBufferPool, const void *pVertexData, size_t vertexDataSize, const void *pIndexData, size_t indexDataSize, u32 numOfIndices, const std::string &meshId) | |
const VertexLayouts::VertexLayout & | GetVertexLayout () const |
u32 | GetNumOfIndices () const |
TVertexBufferId | GetVertexBuffer () const |
TIndexBufferId | GetIndexBuffer () const |
void | BindVertexBuffers (const VertexLayouts::VertexBinding *pVertexBinding, Rendering::GLState &glState) |
void | UnbindVertexBuffers (Rendering::GLState &glState) |
void | UnbindVertexBuffers (const VertexLayouts::VertexBinding *pVertexBinding, Rendering::GLState &glState) |
const std::string & | GetMeshId () const |
Additional Inherited Members | |
Protected Member Functions inherited from Eegeo::NonCopyable | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
Protected Attributes inherited from Eegeo::Rendering::Mesh | |
const VertexLayouts::VertexLayout & | m_vertexLayout |
Rendering::GlBufferPool & | m_glBufferPool |
TVertexBufferId | m_glVertexBuffer |
TIndexBufferId | m_glIndexBuffer |
const std::string | m_meshId |
u32 | m_numOfIndices |
A renderable triangle strip mesh.
This class holds the geometry for a renderable mesh along with the information on the triangle strip lengths used to render it.