![]() |
Pioneer
|
#include <VertexArray.h>
Public Member Functions | |
| VertexArray (AttributeSet attribs, int size=0) | |
| ~VertexArray () | |
| __inline bool | HasAttrib (const VertexAttrib v) const |
| __inline Uint32 | GetNumVerts () const |
| __inline AttributeSet | GetAttributeSet () const |
| __inline bool | IsEmpty () const |
| void | Clear (uint32_t reserveSize=0) |
| void | Add (const vector3f &v) |
| void | Add (const vector3f &v, const Color &c) |
| void | Add (const vector3f &v, const Color &c, const vector3f &n) |
| void | Add (const vector3f &v, const Color &c, const vector2f &uv) |
| void | Add (const vector3f &v, const vector2f &uv) |
| void | Add (const vector3f &v, const vector3f &n) |
| void | Add (const vector3f &v, const vector3f &n, const vector2f &uv) |
| void | Add (const vector3f &v, const vector3f &n, const vector2f &uv, const vector3f &tang) |
| void | Set (const Uint32 idx, const vector3f &v) |
| void | Set (const Uint32 idx, const vector3f &v, const Color &c) |
| void | Set (const Uint32 idx, const vector3f &v, const Color &c, const vector3f &normal) |
| void | Set (const Uint32 idx, const vector3f &v, const Color &c, const vector2f &uv) |
| void | Set (const Uint32 idx, const vector3f &v, const vector2f &uv) |
| void | Set (const Uint32 idx, const vector3f &v, const vector3f &n) |
| void | Set (const Uint32 idx, const vector3f &v, const vector3f &normal, const vector2f &uv) |
| void | Set (const Uint32 idx, const vector3f &v, const vector3f &n, const vector2f &uv, const vector3f &tang) |
Public Attributes | |
| std::vector< vector3f > | position |
| std::vector< vector3f > | normal |
| std::vector< Color > | diffuse |
| std::vector< vector2f > | uv0 |
| std::vector< vector3f > | tangent |
| Graphics::VertexArray::VertexArray | ( | AttributeSet | attribs, |
| int | size = 0 |
||
| ) |
| Graphics::VertexArray::~VertexArray | ( | ) |
| void Graphics::VertexArray::Add | ( | const vector3f & | v | ) |
| void Graphics::VertexArray::Add | ( | const vector3f & | v, |
| const vector3f & | n, | ||
| const vector2f & | uv, | ||
| const vector3f & | tang | ||
| ) |
| void Graphics::VertexArray::Clear | ( | uint32_t | reserveSize = 0 | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void Graphics::VertexArray::Set | ( | const Uint32 | idx, |
| const vector3f & | v | ||
| ) |
| void Graphics::VertexArray::Set | ( | const Uint32 | idx, |
| const vector3f & | v, | ||
| const Color & | c, | ||
| const vector2f & | uv | ||
| ) |
| void Graphics::VertexArray::Set | ( | const Uint32 | idx, |
| const vector3f & | v, | ||
| const Color & | c, | ||
| const vector3f & | normal | ||
| ) |
| void Graphics::VertexArray::Set | ( | const Uint32 | idx, |
| const vector3f & | v, | ||
| const vector3f & | n, | ||
| const vector2f & | uv, | ||
| const vector3f & | tang | ||
| ) |
| void Graphics::VertexArray::Set | ( | const Uint32 | idx, |
| const vector3f & | v, | ||
| const vector3f & | normal, | ||
| const vector2f & | uv | ||
| ) |
| std::vector<Color> Graphics::VertexArray::diffuse |
| std::vector<vector3f> Graphics::VertexArray::normal |
| std::vector<vector3f> Graphics::VertexArray::position |
| std::vector<vector3f> Graphics::VertexArray::tangent |
| std::vector<vector2f> Graphics::VertexArray::uv0 |