Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
This vertex is used for the interleaved array argument for color based arrays T2F_C4F_N3F_V3F. More...
#include <gfxlib_struct.h>
Public Member Functions | |
GFXColorVertex () | |
GFXColorVertex (const Vector &vert, const Vector &norm, const GFXColor &rgba, float s, float t) | |
GFXColorVertex (float x, float y, float z, float i, float j, float k, float r, float g, float b, float a, float s, float t) | |
GFXColorVertex & | SetTexCoord (float s, float t) |
GFXColorVertex & | SetNormal (const Vector &norm) |
GFXColorVertex & | SetVertex (const Vector &vert) |
GFXColorVertex & | SetColor (const GFXColor &col) |
GFXColorVertex & | SetTangent (const Vector &tgt, float parity=1.f) |
Vector | GetNormal () const |
Vector | GetPosition () const |
void | SetVtx (const GFXVertex &vv) |
Vector | GetTangent () const |
float | GetTangentParity () const |
Public Attributes | |
float | s |
float | t |
float | r |
float | g |
float | b |
float | a |
float | i |
float | j |
float | k |
float | x |
float | y |
float | z |
float | tx |
float | ty |
float | tz |
float | tw |
This vertex is used for the interleaved array argument for color based arrays T2F_C4F_N3F_V3F.
Definition at line 212 of file gfxlib_struct.h.
|
inline |
Definition at line 240 of file gfxlib_struct.h.
|
inline |
Definition at line 241 of file gfxlib_struct.h.
References SetColor(), SetNormal(), SetTexCoord(), and SetVertex().
|
inline |
Definition at line 248 of file gfxlib_struct.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 283 of file gfxlib_struct.h.
References GFXColor::a, a, GFXColor::b, b, GFXColor::g, g, GFXColor::r, and r.
Referenced by GFXColorVertex(), Halo::Halo(), and Halo::SetColor().
|
inline |
Definition at line 269 of file gfxlib_struct.h.
Referenced by GFXColorVertex(), and GFXVertexList::RenormalizeNormals().
|
inline |
|
inline |
Definition at line 263 of file gfxlib_struct.h.
Referenced by GFXColorVertex().
|
inline |
Definition at line 276 of file gfxlib_struct.h.
Referenced by GFXColorVertex(), and SpriteStarVlist::SpriteStarVlist().
|
inline |
Definition at line 307 of file gfxlib_struct.h.
References GFXVertex::i, i, GFXVertex::j, j, GFXVertex::k, k, GFXVertex::s, s, GFXVertex::t, t, GFXVertex::x, x, GFXVertex::y, y, GFXVertex::z, and z.
float GFXColorVertex::a |
Definition at line 222 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), GFXColorVertex(), SetColor(), and SpriteStarVlist::SpriteStarVlist().
float GFXColorVertex::b |
Definition at line 221 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), GFXColorVertex(), ScaleByAlpha(), SetColor(), and SpriteStarVlist::SpriteStarVlist().
float GFXColorVertex::g |
Definition at line 220 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), GFXColorVertex(), ScaleByAlpha(), SetColor(), and SpriteStarVlist::SpriteStarVlist().
float GFXColorVertex::i |
Definition at line 225 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetNormal(), GFXColorVertex(), GFXVertexList::RefreshDisplayList(), GFXVertexList::RenormalizeNormals(), SetNormal(), and SetVtx().
float GFXColorVertex::j |
Definition at line 226 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetNormal(), GFXColorVertex(), GFXVertexList::RenormalizeNormals(), SetNormal(), and SetVtx().
float GFXColorVertex::k |
Definition at line 227 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetNormal(), GFXColorVertex(), GFXVertexList::RenormalizeNormals(), SetNormal(), and SetVtx().
float GFXColorVertex::r |
Definition at line 219 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), GFXColorVertex(), GFXVertexList::RefreshDisplayList(), ScaleByAlpha(), SetColor(), and SpriteStarVlist::SpriteStarVlist().
float GFXColorVertex::s |
Definition at line 215 of file gfxlib_struct.h.
Referenced by GFXVertexList::BeginDrawState(), GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GFXColorVertex(), GFXVertexList::RefreshDisplayList(), SetTexCoord(), SetVtx(), and SpriteStarVlist::SpriteStarVlist().
float GFXColorVertex::t |
Definition at line 216 of file gfxlib_struct.h.
Referenced by GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GFXColorVertex(), GFXVertexList::RefreshDisplayList(), SetTexCoord(), SetVtx(), and SpriteStarVlist::SpriteStarVlist().
float GFXColorVertex::tw |
Definition at line 238 of file gfxlib_struct.h.
Referenced by GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetTangentParity(), GFXVertexList::RefreshDisplayList(), and SetTangent().
float GFXColorVertex::tx |
Definition at line 235 of file gfxlib_struct.h.
Referenced by GFXVertexList::BeginDrawState(), GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetTangent(), GFXVertexList::RefreshDisplayList(), and SetTangent().
float GFXColorVertex::ty |
Definition at line 236 of file gfxlib_struct.h.
Referenced by GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetTangent(), GFXVertexList::RefreshDisplayList(), and SetTangent().
float GFXColorVertex::tz |
Definition at line 237 of file gfxlib_struct.h.
Referenced by GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetTangent(), GFXVertexList::RefreshDisplayList(), and SetTangent().
float GFXColorVertex::x |
Definition at line 230 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), PointStarVlist::BeginDrawState(), GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetConstVertex(), GetPosition(), GFXColorVertex(), GFXVertexList::RefreshDisplayList(), SetVertex(), and SetVtx().
float GFXColorVertex::y |
Definition at line 231 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), PointStarVlist::BeginDrawState(), GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetConstVertex(), GetPosition(), GFXColorVertex(), SetVertex(), and SetVtx().
float GFXColorVertex::z |
Definition at line 232 of file gfxlib_struct.h.
Referenced by AllocVerticesForSystem(), PointStarVlist::BeginDrawState(), GFXVertexList::ColIndVtxCopy(), GFXVertexList::ColVtxCopy(), GetConstVertex(), GetPosition(), GFXColorVertex(), SetVertex(), and SetVtx().