Epok Engine

EPOK RUNTIME

epok::project_geometry_triple

Function · 3 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

Performs `project geometry triple` as part of Geometry Transformation Engine math and register operations.

Belongs to
epok
Header
gte_geometry.hpp
Overloads
3

Declaration 1 of 3

Declaration
inline bool project_geometry_triple(MeshVertices vertices,const int32_t* offset, uint32_t* screen,int32_t* depth)

Performs `project geometry triple` as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
verticesMeshVerticesNot documented; consult the linked header.
offsetconst int32_t *Not documented; consult the linked header.
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:
// MeshVertices vertices
// const int32_t * offset
// uint32_t * screen
// int32_t * depth

auto result = epok::project_geometry_triple(vertices, offset, 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:385

Declaration 2 of 3

template
Declaration
template<class Number,class Compact> inline bool project_geometry_triple(const Number (*vertices)[3], const int32_t* offset,Compact* out)

Interior packets only need packed screen XY and unsigned depth.

ParameterTypeMeaning
verticesconst Number (*)[3]Not documented; consult the linked header.
offsetconst int32_t *Not documented; consult the linked header.
outCompact *Not documented; consult the linked header.

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

Example sketch

C++ example
#include "gte_geometry.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Number, Compact

// Assume these named values have been initialized with valid data:
// const Number (*)[3] vertices
// const int32_t * offset
// Compact * out

auto result = epok::project_geometry_triple<Number, Compact>(vertices, offset, out);

Trade-offs and warnings

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

Declared in runtime/gte_geometry.hpp:361

Declaration 3 of 3

template
Declaration
template<class Number> inline bool project_geometry_triple(const Number (*vertices)[3],const int32_t* offset, uint32_t* screen,int32_t* depth)

Performs `project geometry triple` as part of Geometry Transformation Engine math and register operations.

ParameterTypeMeaning
verticesconst Number (*)[3]Not documented; consult the linked header.
offsetconst int32_t *Not documented; consult the linked header.
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"

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

// Assume these named values have been initialized with valid data:
// const Number (*)[3] vertices
// const int32_t * offset
// uint32_t * screen
// int32_t * depth

auto result = epok::project_geometry_triple<Number>(vertices, offset, 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:343

Related members