#include <VertexArray.h>
|
| | 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 () |
| |
| 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) |
| |
◆ VertexArray()
| Graphics::VertexArray::VertexArray |
( |
AttributeSet |
attribs, |
|
|
int |
size = 0 |
|
) |
| |
◆ ~VertexArray()
| Graphics::VertexArray::~VertexArray |
( |
| ) |
|
◆ Add() [1/8]
| void Graphics::VertexArray::Add |
( |
const vector3f & |
v | ) |
|
◆ Add() [2/8]
| void Graphics::VertexArray::Add |
( |
const vector3f & |
v, |
|
|
const Color & |
c |
|
) |
| |
◆ Add() [3/8]
◆ Add() [4/8]
◆ Add() [5/8]
◆ Add() [6/8]
◆ Add() [7/8]
◆ Add() [8/8]
◆ Clear()
| void Graphics::VertexArray::Clear |
( |
| ) |
|
◆ GetAttributeSet()
| __inline AttributeSet Graphics::VertexArray::GetAttributeSet |
( |
| ) |
const |
|
inline |
◆ GetNumVerts()
| __inline Uint32 Graphics::VertexArray::GetNumVerts |
( |
| ) |
const |
|
inline |
◆ HasAttrib()
| __inline bool Graphics::VertexArray::HasAttrib |
( |
const VertexAttrib |
v | ) |
const |
|
inline |
◆ IsEmpty()
| __inline bool Graphics::VertexArray::IsEmpty |
( |
| ) |
const |
|
inline |
◆ Set() [1/8]
| void Graphics::VertexArray::Set |
( |
const Uint32 |
idx, |
|
|
const vector3f & |
v |
|
) |
| |
◆ Set() [2/8]
| void Graphics::VertexArray::Set |
( |
const Uint32 |
idx, |
|
|
const vector3f & |
v, |
|
|
const Color & |
c |
|
) |
| |
◆ Set() [3/8]
| void Graphics::VertexArray::Set |
( |
const Uint32 |
idx, |
|
|
const vector3f & |
v, |
|
|
const Color & |
c, |
|
|
const vector2f & |
uv |
|
) |
| |
◆ Set() [4/8]
| void Graphics::VertexArray::Set |
( |
const Uint32 |
idx, |
|
|
const vector3f & |
v, |
|
|
const Color & |
c, |
|
|
const vector3f & |
normal |
|
) |
| |
◆ Set() [5/8]
| void Graphics::VertexArray::Set |
( |
const Uint32 |
idx, |
|
|
const vector3f & |
v, |
|
|
const vector2f & |
uv |
|
) |
| |
◆ Set() [6/8]
| void Graphics::VertexArray::Set |
( |
const Uint32 |
idx, |
|
|
const vector3f & |
v, |
|
|
const vector3f & |
n |
|
) |
| |
◆ Set() [7/8]
◆ Set() [8/8]
◆ diffuse
| std::vector<Color> Graphics::VertexArray::diffuse |
◆ normal
| std::vector<vector3f> Graphics::VertexArray::normal |
◆ position
| std::vector<vector3f> Graphics::VertexArray::position |
◆ tangent
| std::vector<vector3f> Graphics::VertexArray::tangent |
◆ uv0
| std::vector<vector2f> Graphics::VertexArray::uv0 |
The documentation for this class was generated from the following files: