kick
|
#include <mesh_data.h>
Classes | |
struct | SubMeshInternal |
Public Member Functions | |
void | setBounds (const Bounds3 &mBounds) |
const Bounds3 & | bounds () |
GLenum | meshUsageVal () |
void | setPosition (const std::vector< glm::vec3 > &p) |
const std::vector< glm::vec3 > & | position () |
void | setNormal (const std::vector< glm::vec3 > &n) |
const std::vector< glm::vec3 > & | normal () |
void | setTexCoord0 (const std::vector< glm::vec2 > &u1) |
const std::vector< glm::vec2 > & | texCoord0 () |
void | setTexCoord1 (const std::vector< glm::vec2 > &u2) |
const std::vector< glm::vec2 > & | texCoord1 () |
void | setTangent (const std::vector< glm::vec3 > &t) |
const std::vector< glm::vec3 > & | tangent () |
void | setColor (const std::vector< glm::vec4 > &c) |
const std::vector< glm::vec4 > & | color () |
void | setSubmesh (unsigned int index, const std::vector< GLushort > &indices, MeshType meshType) |
const std::vector< GLushort > & | submeshIndices (unsigned int index) const |
const MeshType | submeshType (unsigned int index) const |
unsigned int | submeshesCount () |
GLsizei | submeshSize (unsigned int index) |
std::vector< float > | interleavedData () |
std::vector< InterleavedRecord > | interleavedFormat () |
std::vector< GLushort > | indicesConcat () |
std::vector< SubMeshData > | indicesFormat () |
void | recomputeNormals () |
void | recomputeBounds () |
MeshUsage | meshUsage () const |
void | setMeshUsage (MeshUsage meshUsage) |
MeshData represent data on the CPU side.
Definition at line 83 of file mesh_data.h.