Epok Engine

PSYQO SDK

psyqo::Color::packed

Field

Field

Exposes `packed` on the `psyqo` namespace for typed PlayStation GPU primitives.

Belongs to
psyqo
Header
primitives/common.hh

Declaration

Declaration
uint32_t packed

Exposes `packed` on the `psyqo` namespace for typed PlayStation GPU primitives.

Type
uint32_t
Storage
Namespace scope

Example

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

auto value = psyqo::Color::packed;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/primitives/common.hh:95