Epok Engine

EPOK RUNTIME

epok::compact_gpu_safe

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

Screen/depth-only projection is also sufficient for off-screen chunks when every vertex is depth-valid and the complete packet span fits the GPU.

Belongs to
epok
Header
polygon.hpp
Overloads
1

Declaration

Declaration
inline bool compact_gpu_safe(const CompactProjectedVertex* vertices,size_t count,int32_t near,int32_t far)

Screen/depth-only projection is also sufficient for off-screen chunks when every vertex is depth-valid and the complete packet span fits the GPU.

ParameterTypeMeaning
verticesconst CompactProjectedVertex *Not documented; consult the linked header.
countsize_tNot documented; consult the linked header.
nearint32_tNot documented; consult the linked header.
farint32_tNot documented; consult the linked header.

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

Example sketch

C++ example
#include "polygon.hpp"

// Assume these named values have been initialized with valid data:
// const CompactProjectedVertex * vertices
// size_t count
// int32_t near
// int32_t far

auto result = epok::compact_gpu_safe(vertices, count, near, far);

Trade-offs and warnings

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

Declared in runtime/polygon.hpp:33

Related members