Epok Engine

PSYQO SDK

psyqo::GTE::Kernels::nct

Function · 1 overload

Function

NCT - Normal color (triple) limit(([ll]·[v0]) >> 12) -> sv limit(([lc]·[sv]) >> 12) + [bk] -> rgb0 limit(([ll]·[v1]) >> 12) -> sv limit(([lc]·[sv]) >> 12) + [bk] -> rgb1 limit(([ll]·[v2]) >> 12) -> sv limit(([lc]·[sv]) >> 12) + [bk] -> rgb2 30 cycles

Belongs to
psyqo::GTE::Kernels
Header
gte-kernels.hh
Overloads
1

Declaration

static
Declaration
static inline void nct()

NCT - Normal color (triple) limit(([ll]·[v0]) >> 12) -> sv limit(([lc]·[sv]) >> 12) + [bk] -> rgb0 limit(([ll]·[v1]) >> 12) -> sv limit(([lc]·[sv]) >> 12) + [bk] -> rgb1 limit(([ll]·[v2]) >> 12) -> sv limit(([lc]·[sv]) >> 12) + [bk] -> rgb2 30 cycles

This overload takes no parameters.

Returns: Nothing (void).

Example

C++ example
#include "psyqo/gte-kernels.hh"

psyqo::GTE::Kernels::nct();

Why use it

It provides direct, allocation-conscious access to Geometry Transformation Engine math and register operations. No exception-based error path is implied by the signature.

Trade-offs and warnings

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/gte-kernels.hh:149

Related members