Epok Engine

PSYQO SDK

psyqo::Prim::GouraudTriangle::GouraudTriangle

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.

constructor

Constructs `psyqo::Prim::GouraudTriangle` for typed PlayStation GPU primitives.

Belongs to
psyqo::Prim::GouraudTriangle
Header
primitives/triangles.hh
Overloads
3

Declaration 1 of 3

Declaration
GouraudTriangle() : c

Constructs `psyqo::Prim::GouraudTriangle` for typed PlayStation GPU primitives.

This overload takes no parameters.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/primitives/triangles.hh"

psyqo::Prim::GouraudTriangle value();

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/primitives/triangles.hh:143

Declaration 2 of 3

Declaration
GouraudTriangle(Color c) : c

Constructs `psyqo::Prim::GouraudTriangle` for typed PlayStation GPU primitives.

ParameterTypeMeaning
cColorNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/primitives/triangles.hh"

// Assume these named values have been initialized with valid data:
// Color c

psyqo::Prim::GouraudTriangle value(c);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/primitives/triangles.hh:144

Declaration 3 of 3

Declaration
GouraudTriangle(const GouraudTriangle& other, Color c) : c

Constructs `psyqo::Prim::GouraudTriangle` for typed PlayStation GPU primitives.

ParameterTypeMeaning
otherconst GouraudTriangle &Not documented; consult the linked header.
cColorNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/primitives/triangles.hh"

// Assume these named values have been initialized with valid data:
// const GouraudTriangle & other
// Color c

psyqo::Prim::GouraudTriangle value(other, c);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/primitives/triangles.hh:145

Related members