Epok Engine

PSYQO SDK

psyqo::GTE::writeUnsafe

Function · 41 overloads

Function

Writes unsafe as part of Geometry Transformation Engine math and register operations.

Belongs to
psyqo::GTE
Header
gte-registers.hh
Overloads
41

Declaration 1 of 41

template
Declaration
template <> inline void writeUnsafe<PseudoRegister::Color>(const Matrix33& in)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
inconst Matrix33 &Value supplied for in. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// const Matrix33 & in

psyqo::GTE::writeUnsafe(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 2 of 41

template
Declaration
template <> inline void writeUnsafe<PseudoRegister::Light>(const Matrix33& in)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
inconst Matrix33 &Value supplied for in. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// const Matrix33 & in

psyqo::GTE::writeUnsafe(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 3 of 41

template
Declaration
template <> inline void writeUnsafe<PseudoRegister::Rotation>(const Matrix33& in)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
inconst Matrix33 &Value supplied for in. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// const Matrix33 & in

psyqo::GTE::writeUnsafe(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 4 of 41

template
Declaration
template <> inline void writeUnsafe<PseudoRegister::ScreenOffset>(const Vec2& in)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
inconst Vec2 &Value supplied for in. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// const Vec2 & in

psyqo::GTE::writeUnsafe(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 5 of 41

template
Declaration
template <> inline void writeUnsafe<PseudoRegister::Translation>(const Vec3& in)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
inconst Vec3 &Value supplied for in. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// const Vec3 & in

psyqo::GTE::writeUnsafe(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 6 of 41

template
Declaration
template <> inline void writeUnsafe<PseudoRegister::V0>(const Vec3& in)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
inconst Vec3 &Value supplied for in. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// const Vec3 & in

psyqo::GTE::writeUnsafe(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 7 of 41

template
Declaration
template <> inline void writeUnsafe<PseudoRegister::V1>(const Vec3& in)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
inconst Vec3 &Value supplied for in. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// const Vec3 & in

psyqo::GTE::writeUnsafe(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 8 of 41

template
Declaration
template <> inline void writeUnsafe<PseudoRegister::V2>(const Vec3& in)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
inconst Vec3 &Value supplied for in. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// const Vec3 & in

psyqo::GTE::writeUnsafe(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 9 of 41

template
Declaration
template <> inline void writeUnsafe<Register::IR0>(Short x_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_

psyqo::GTE::writeUnsafe(x_);

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-registers.hh:685

Declaration 10 of 41

template
Declaration
template <> inline void writeUnsafe<Register::IR1>(Short x_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_

psyqo::GTE::writeUnsafe(x_);

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-registers.hh:691

Declaration 11 of 41

template
Declaration
template <> inline void writeUnsafe<Register::IR2>(Short x_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_

psyqo::GTE::writeUnsafe(x_);

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-registers.hh:697

Declaration 12 of 41

template
Declaration
template <> inline void writeUnsafe<Register::IR3>(Short x_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_

psyqo::GTE::writeUnsafe(x_);

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-registers.hh:703

Declaration 13 of 41

template
Declaration
template <> inline void writeUnsafe<Register::L11L12>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:743

Declaration 14 of 41

template
Declaration
template <> inline void writeUnsafe<Register::L13L21>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:750

Declaration 15 of 41

template
Declaration
template <> inline void writeUnsafe<Register::L22L23>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:757

Declaration 16 of 41

template
Declaration
template <> inline void writeUnsafe<Register::L31L32>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:764

Declaration 17 of 41

template
Declaration
template <> inline void writeUnsafe<Register::L33>(Short z_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
z_ShortValue supplied for z_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short z_

psyqo::GTE::writeUnsafe(z_);

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-registers.hh:771

Declaration 18 of 41

template
Declaration
template <> inline void writeUnsafe<Register::LB1LB2>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:798

Declaration 19 of 41

template
Declaration
template <> inline void writeUnsafe<Register::LB3>(Short z_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
z_ShortValue supplied for z_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short z_

psyqo::GTE::writeUnsafe(z_);

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-registers.hh:805

Declaration 20 of 41

template
Declaration
template <> inline void writeUnsafe<Register::LG2LG3>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:791

Declaration 21 of 41

template
Declaration
template <> inline void writeUnsafe<Register::LR1LR2>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:777

Declaration 22 of 41

template
Declaration
template <> inline void writeUnsafe<Register::LR3LG1>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:784

Declaration 23 of 41

template
Declaration
template <> inline void writeUnsafe<Register::OTZ>(Short z_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
z_ShortValue supplied for z_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short z_

psyqo::GTE::writeUnsafe(z_);

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-registers.hh:679

Declaration 24 of 41

template
Declaration
template <> inline void writeUnsafe<Register::R11R12>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:709

Declaration 25 of 41

template
Declaration
template <> inline void writeUnsafe<Register::R13R21>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:716

Declaration 26 of 41

template
Declaration
template <> inline void writeUnsafe<Register::R22R23>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:723

Declaration 27 of 41

template
Declaration
template <> inline void writeUnsafe<Register::R31R32>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:730

Declaration 28 of 41

template
Declaration
template <> inline void writeUnsafe<Register::R33>(Short z_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
z_ShortValue supplied for z_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short z_

psyqo::GTE::writeUnsafe(z_);

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-registers.hh:737

Declaration 29 of 41

template
Declaration
template <> inline void writeUnsafe<Register::VXY0>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:640

Declaration 30 of 41

template
Declaration
template <> inline void writeUnsafe<Register::VXY1>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:653

Declaration 31 of 41

template
Declaration
template <> inline void writeUnsafe<Register::VXY2>(Short x_, Short y_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
x_ShortValue supplied for x_. Keep referenced or pointed-to data valid for the complete call.
y_ShortValue supplied for y_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short x_
// Short y_

psyqo::GTE::writeUnsafe(x_, y_);

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-registers.hh:666

Declaration 32 of 41

template
Declaration
template <> inline void writeUnsafe<Register::VZ0>(Short z_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
z_ShortValue supplied for z_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short z_

psyqo::GTE::writeUnsafe(z_);

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-registers.hh:647

Declaration 33 of 41

template
Declaration
template <> inline void writeUnsafe<Register::VZ1>(Short z_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
z_ShortValue supplied for z_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short z_

psyqo::GTE::writeUnsafe(z_);

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-registers.hh:660

Declaration 34 of 41

template
Declaration
template <> inline void writeUnsafe<Register::VZ2>(Short z_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
z_ShortValue supplied for z_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short z_

psyqo::GTE::writeUnsafe(z_);

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-registers.hh:673

Declaration 35 of 41

template
Declaration
template <> inline void writeUnsafe<Register::ZSF3>(Short z_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
z_ShortValue supplied for z_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short z_

psyqo::GTE::writeUnsafe(z_);

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-registers.hh:811

Declaration 36 of 41

template
Declaration
template <> inline void writeUnsafe<Register::ZSF4>(Short z_)

Writes unsafe as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
z_ShortValue supplied for z_. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

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

// Assume these named values have been initialized with valid data:
// Short z_

psyqo::GTE::writeUnsafe(z_);

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-registers.hh:817

Declaration 37 of 41

static · template
Declaration
template <PseudoRegister reg, bool valid = false> static inline void writeUnsafe(const Matrix33& in)

Write a 3x3 matrix to a GTE pseudo register, without adding nops after the operation.

ParameterTypeMeaning
inconst Matrix33 &The matrix to write.

Returns: Nothing (void).

Example

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

// Replace these template arguments with types or values accepted by the declaration:
// reg, valid

// Assume these named values have been initialized with valid data:
// const Matrix33 & in

psyqo::GTE::writeUnsafe<reg, valid>(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 38 of 41

static · template
Declaration
template <PseudoRegister reg, bool valid = false> static inline void writeUnsafe(const Vec2& in)

Write a 2D vector to a GTE pseudo register, without adding nops after the operation.

ParameterTypeMeaning
inconst Vec2 &The vector to write.

Returns: Nothing (void).

Example

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

// Replace these template arguments with types or values accepted by the declaration:
// reg, valid

// Assume these named values have been initialized with valid data:
// const Vec2 & in

psyqo::GTE::writeUnsafe<reg, valid>(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 39 of 41

static · template
Declaration
template <PseudoRegister reg, bool valid = false> static inline void writeUnsafe(const Vec3& in)

Write a 3D vector to a GTE pseudo register, without adding nops after the operation.

ParameterTypeMeaning
inconst Vec3 &The vector to write.

Returns: Nothing (void).

Example

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

// Replace these template arguments with types or values accepted by the declaration:
// reg, valid

// Assume these named values have been initialized with valid data:
// const Vec3 & in

psyqo::GTE::writeUnsafe<reg, valid>(in);

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. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

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

Declaration 40 of 41

static · template
Declaration
template <Register reg, bool valid = false> static inline void writeUnsafe(Short fp)

Writes a 16-bits fixed point number to a GTE register, without adding nops after the operation.

ParameterTypeMeaning
fpShortThe fixed point number to write.

Returns: Nothing (void).

Example

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

// Replace these template arguments with types or values accepted by the declaration:
// reg, valid

// Assume these named values have been initialized with valid data:
// Short fp

psyqo::GTE::writeUnsafe<reg, valid>(fp);

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-registers.hh:221

Declaration 41 of 41

static · template
Declaration
template <Register reg, bool valid = false> static inline void writeUnsafe(Short low, Short hi)

Writes two 16-bits fixed point numbers to a GTE register, without adding nops after the operation.

ParameterTypeMeaning
lowShortThe value to write to the lower 16 bits of the register.
hiShortThe value to write to the higher 16 bits of the register.

Returns: Nothing (void).

Example

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

// Replace these template arguments with types or values accepted by the declaration:
// reg, valid

// Assume these named values have been initialized with valid data:
// Short low
// Short hi

psyqo::GTE::writeUnsafe<reg, valid>(low, hi);

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-registers.hh:246

Related members