Epok Engine

PSYQO SDK

psyqo::GTE::Kernels::gpf

Function template · 1 overload

Function template

General purpose interpolation dp·[sv] -> lv, sv 5 cycles

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

Declaration

static · template
Declaration
template <SF sf = Shifted> static inline void gpf()

General purpose interpolation dp·[sv] -> lv, sv 5 cycles

This overload takes no parameters.

Returns: Nothing (void).

Example

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

// Replace these template arguments with types or values accepted by the declaration:
// sf

psyqo::GTE::Kernels::gpf<sf>();

Why use it

Template dispatch is resolved at compile time and normally adds no runtime indirection.

Trade-offs and warnings

Every instantiated type must satisfy the header's compile-time requirements; extra instantiations can increase code size.

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

Related members