|
Nugget
|
A textured, blended quad. More...
#include <psyqo/primitives/quads.hh>

Public Member Functions | |
| GouraudTexturedQuad () | |
| GouraudTexturedQuad (Color c) | |
| GouraudTexturedQuad (const GouraudTexturedQuad &other, Color c) | |
| GouraudTexturedQuad & | setColorA (Color c) |
| GouraudTexturedQuad & | setColorB (Color c) |
| GouraudTexturedQuad & | setColorC (Color c) |
| GouraudTexturedQuad & | setColorD (Color c) |
| Color | getColorA () const |
| Color | getColorB () const |
| Color | getColorC () const |
| Color | getColorD () const |
| GouraudTexturedQuad & | setOpaque () |
| GouraudTexturedQuad & | setSemiTrans () |
| bool | isSemiTrans () const |
| template<Transparency transparency = Transparency::Auto> | |
| void | interpolateColors (const Color *a, const Color *b, const Color *c, const Color *d) |
| template<Transparency transparency = Transparency::Auto> | |
| void | interpolateColors (Color a, Color b, Color c, Color d) |
A textured, blended quad.
This primitive will draw a textured quad with its texels blended with the interpolated color values of its vertices. See Quad for more information about vertices and ordering. The primitive has weird-looking ordering of members, but it is necessary to accommodate the way the hardware wants the quad information to be sent to it. The attributes of the primitive can be better visualized with this order:
pointA, pointB, pointC, pointDcolorA, colorB, colorC, colorDuvA, uvB, uvC, uvDclutIndex, tpage Note that colorA can only be set using the constructor, or the setColorA method.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| PrimPieces::ClutIndex psyqo::Prim::GouraudTexturedQuad::clutIndex |
| Color psyqo::Prim::GouraudTexturedQuad::colorB |
| Color psyqo::Prim::GouraudTexturedQuad::colorC |
| Color psyqo::Prim::GouraudTexturedQuad::colorD |
| Vertex psyqo::Prim::GouraudTexturedQuad::pointA |
| Vertex psyqo::Prim::GouraudTexturedQuad::pointB |
| Vertex psyqo::Prim::GouraudTexturedQuad::pointC |
| Vertex psyqo::Prim::GouraudTexturedQuad::pointD |
| PrimPieces::TPageAttr psyqo::Prim::GouraudTexturedQuad::tpage |
| PrimPieces::UVCoords psyqo::Prim::GouraudTexturedQuad::uvA |
| PrimPieces::UVCoords psyqo::Prim::GouraudTexturedQuad::uvB |
| PrimPieces::UVCoordsPadded psyqo::Prim::GouraudTexturedQuad::uvC |
| PrimPieces::UVCoordsPadded psyqo::Prim::GouraudTexturedQuad::uvD |