Epok Engine

PSYQO SDK

psyqo::GTE::writeSafe

Function · 41 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.

Function

Writes safe 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 writeSafe<PseudoRegister::Color>(const Matrix33& in)

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

ParameterTypeMeaning
inconst Matrix33 &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(in);

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/gte-registers.hh:841

Declaration 2 of 41

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

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

ParameterTypeMeaning
inconst Matrix33 &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(in);

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/gte-registers.hh:832

Declaration 3 of 41

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

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

ParameterTypeMeaning
inconst Matrix33 &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(in);

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/gte-registers.hh:823

Declaration 4 of 41

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

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

ParameterTypeMeaning
inconst Vec2 &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(in);

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/gte-registers.hh:875

Declaration 5 of 41

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

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

ParameterTypeMeaning
inconst Vec3 &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(in);

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/gte-registers.hh:868

Declaration 6 of 41

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

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

ParameterTypeMeaning
inconst Vec3 &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(in);

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/gte-registers.hh:850

Declaration 7 of 41

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

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

ParameterTypeMeaning
inconst Vec3 &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(in);

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/gte-registers.hh:856

Declaration 8 of 41

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

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

ParameterTypeMeaning
inconst Vec3 &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(in);

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/gte-registers.hh:862

Declaration 9 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(x_);

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/gte-registers.hh:502

Declaration 10 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(x_);

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/gte-registers.hh:508

Declaration 11 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(x_);

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/gte-registers.hh:514

Declaration 12 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(x_);

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/gte-registers.hh:520

Declaration 13 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:560

Declaration 14 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:567

Declaration 15 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:574

Declaration 16 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:581

Declaration 17 of 41

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

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

ParameterTypeMeaning
z_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(z_);

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/gte-registers.hh:588

Declaration 18 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:615

Declaration 19 of 41

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

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

ParameterTypeMeaning
z_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(z_);

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/gte-registers.hh:622

Declaration 20 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:608

Declaration 21 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:594

Declaration 22 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:601

Declaration 23 of 41

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

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

ParameterTypeMeaning
z_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(z_);

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/gte-registers.hh:496

Declaration 24 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:526

Declaration 25 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:533

Declaration 26 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:540

Declaration 27 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:547

Declaration 28 of 41

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

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

ParameterTypeMeaning
z_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(z_);

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/gte-registers.hh:554

Declaration 29 of 41

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

The following are template specializations for the various GTE registers.

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:457

Declaration 30 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:470

Declaration 31 of 41

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

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

ParameterTypeMeaning
x_ShortNot documented; consult the linked header.
y_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

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

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/gte-registers.hh:483

Declaration 32 of 41

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

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

ParameterTypeMeaning
z_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(z_);

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/gte-registers.hh:464

Declaration 33 of 41

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

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

ParameterTypeMeaning
z_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(z_);

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/gte-registers.hh:477

Declaration 34 of 41

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

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

ParameterTypeMeaning
z_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(z_);

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/gte-registers.hh:490

Declaration 35 of 41

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

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

ParameterTypeMeaning
z_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(z_);

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/gte-registers.hh:628

Declaration 36 of 41

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

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

ParameterTypeMeaning
z_ShortNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

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

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

psyqo::GTE::writeSafe(z_);

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/gte-registers.hh:634

Declaration 37 of 41

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

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

ParameterTypeMeaning
inconst Matrix33 &The matrix to write.

Returns: Nothing (void).

Example sketch

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::writeSafe<reg, valid>(in);

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/gte-registers.hh:274

Declaration 38 of 41

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

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

ParameterTypeMeaning
inconst Vec2 &The vector to write.

Returns: Nothing (void).

Example sketch

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::writeSafe<reg, valid>(in);

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/gte-registers.hh:310

Declaration 39 of 41

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

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

ParameterTypeMeaning
inconst Vec3 &The vector to write.

Returns: Nothing (void).

Example sketch

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::writeSafe<reg, valid>(in);

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/gte-registers.hh:298

Declaration 40 of 41

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

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

ParameterTypeMeaning
fpShortThe fixed point number to write.

Returns: Nothing (void).

Example sketch

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::writeSafe<reg, valid>(fp);

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/gte-registers.hh:209

Declaration 41 of 41

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

Writes two 16-bits fixed point numbers to a GTE register, 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 sketch

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::writeSafe<reg, valid>(low, hi);

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/gte-registers.hh:233

Related members