Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
PSYQO SDK
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Sets color c as part of typed PlayStation GPU primitives.
GouraudTexturedTriangle& setColorC(Color c)Sets color c as part of typed PlayStation GPU primitives.
| Parameter | Type | Meaning |
|---|---|---|
c | Color | Not documented; consult the linked header. |
Returns: GouraudTexturedTriangle &. Consult the linked header for its meaning.
#include "psyqo/primitives/triangles.hh"
// Assume these named values have been initialized with valid data:
// Color c
psyqo::Prim::GouraudTexturedTriangle& object = /* obtain a valid instance */;
auto result = object.setColorC(c);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
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.MethodGouraudTexturedTriangleConstructs `psyqo::Prim::GouraudTexturedTriangle` for typed PlayStation GPU primitives.constructorinterpolateColorsPerforms `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.MethodsetOpaqueSets opaque as part of typed PlayStation GPU primitives.MethodsetSemiTransSets semi trans as part of typed PlayStation GPU primitives.Method