Epok Engine

EPOK RUNTIME

epok::store_projection_triple

Function · 1 overload

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

Same outputs as finish_projection_triple, stored even when the GTE flagged the projection; returns whether it was unflagged.

Belongs to
epok
Header
gte_geometry.hpp
Overloads
1

Declaration

Declaration
inline bool store_projection_triple(uint32_t* screen,int32_t* depth)

Same outputs as finish_projection_triple, stored even when the GTE flagged the projection; returns whether it was unflagged.

ParameterTypeMeaning
screenuint32_t *Not documented; consult the linked header.
depthint32_t *Not documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "gte_geometry.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t * screen
// int32_t * depth

auto result = epok::store_projection_triple(screen, depth);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/gte_geometry.hpp:278

Related members