All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Eegeo::Rendering::TriStripMesh Class Reference

A renderable triangle strip mesh. More...

#include <TriStripMesh.h>

Inheritance diagram for Eegeo::Rendering::TriStripMesh:
Eegeo::Rendering::Mesh Eegeo::NonCopyable

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::VertexLayoutGetVertexLayout () 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
 
NonCopyableoperator= (const NonCopyable &)=delete
 
- Protected Attributes inherited from Eegeo::Rendering::Mesh
const VertexLayouts::VertexLayoutm_vertexLayout
 
Rendering::GlBufferPoolm_glBufferPool
 
TVertexBufferId m_glVertexBuffer
 
TIndexBufferId m_glIndexBuffer
 
const std::string m_meshId
 
u32 m_numOfIndices
 

Detailed Description

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.


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