Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
PSYQO SDK
constructor · 3 overloads
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.
Constructs `psyqo::Prim::GouraudQuad` for typed PlayStation GPU primitives.
GouraudQuad() : cConstructs `psyqo::Prim::GouraudQuad` for typed PlayStation GPU primitives.
This overload takes no parameters.
Returns: Nothing (void).
#include "psyqo/primitives/quads.hh"
psyqo::Prim::GouraudQuad value();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
GouraudQuad(Color c) : cConstructs `psyqo::Prim::GouraudQuad` for typed PlayStation GPU primitives.
| Parameter | Type | Meaning |
|---|---|---|
c | Color | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "psyqo/primitives/quads.hh"
// Assume these named values have been initialized with valid data:
// Color c
psyqo::Prim::GouraudQuad value(c);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
GouraudQuad(const GouraudQuad& other, Color c) : cConstructs `psyqo::Prim::GouraudQuad` for typed PlayStation GPU primitives.
| Parameter | Type | Meaning |
|---|---|---|
other | const GouraudQuad & | Not documented; consult the linked header. |
c | Color | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "psyqo/primitives/quads.hh"
// Assume these named values have been initialized with valid data:
// const GouraudQuad & other
// Color c
psyqo::Prim::GouraudQuad value(other, 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.MethodgetColorDReturns color d 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.MethodsetColorDSets color d as part of typed PlayStation GPU primitives.Method