PSYQO SDK
psyqo::Prim::GouraudTriangle
Struct
Struct
A gouraud-shaded triangle.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. Open a member below for an operation-specific example.
C++ example
#include "psyqo/primitives/triangles.hh"
psyqo::Prim::GouraudTriangle value();Fields and constants
colorBExposes `colorB` on `psyqo::Prim::GouraudTriangle` for typed PlayStation GPU primitives.FieldcolorCExposes `colorC` on `psyqo::Prim::GouraudTriangle` for typed PlayStation GPU primitives.FieldpointAExposes `pointA` on `psyqo::Prim::GouraudTriangle` for typed PlayStation GPU primitives.FieldpointBExposes `pointB` on `psyqo::Prim::GouraudTriangle` for typed PlayStation GPU primitives.FieldpointCExposes `pointC` on `psyqo::Prim::GouraudTriangle` for typed PlayStation GPU primitives.FieldConstructors
Public methods
getColorAReturns color a as part of typed PlayStation GPU primitives.MethodgetColorBReturns color b as part of typed PlayStation GPU primitives.MethodgetColorCReturns color c as part of typed PlayStation GPU primitives.MethodgetCommandWordThe GP0 command word, minus any colour.MethodinterpolateColorsPerforms `interpolate colors` as part of typed PlayStation GPU primitives.Function templateisSemiTransReports whether semi trans as part of typed PlayStation GPU primitives.MethodsetColorASets color a as part of typed PlayStation GPU primitives.MethodsetColorAPackedSets the command word and vertex A's colour in one go.MethodsetColorBSets color b as part of typed PlayStation GPU primitives.MethodsetColorCSets color c as part of typed PlayStation GPU primitives.MethodsetOpaqueSets opaque as part of typed PlayStation GPU primitives.MethodsetPointASets point a as part of typed PlayStation GPU primitives.MethodsetPointBSets point b as part of typed PlayStation GPU primitives.MethodsetPointCSets point c as part of typed PlayStation GPU primitives.MethodsetSemiTransSets semi trans as part of typed PlayStation GPU primitives.Method