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 as part of typed PlayStation GPU primitives.
PolyLineBegin& setColor(Color c)Sets color as part of typed PlayStation GPU primitives.
| Parameter | Type | Meaning |
|---|---|---|
c | Color | Not documented; consult the linked header. |
Returns: PolyLineBegin &. Consult the linked header for its meaning.
#include "psyqo/primitives/lines.hh"
// Assume these named values have been initialized with valid data:
// Color c
psyqo::Prim::PolyLineBegin& object = /* obtain a valid instance */;
auto result = object.setColor(c);Consult the linked header for this operation’s ownership, lifetime and failure behavior.