kick
Classes | Public Member Functions
kick::MeshData Class Reference

#include <mesh_data.h>

Inheritance diagram for kick::MeshData:
kick::ProjectAsset

List of all members.

Classes

struct  SubMeshInternal

Public Member Functions

void setBounds (const Bounds3 &mBounds)
const Bounds3bounds ()
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< InterleavedRecordinterleavedFormat ()
std::vector< GLushort > indicesConcat ()
std::vector< SubMeshDataindicesFormat ()
void recomputeNormals ()
void recomputeBounds ()
MeshUsage meshUsage () const
void setMeshUsage (MeshUsage meshUsage)

Detailed Description

MeshData represent data on the CPU side.

Definition at line 83 of file mesh_data.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables