EPOK RUNTIME
Ordered Draw Types
ordered_draw_types.hpp · the ordered draw types module
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.
Module
the ordered draw types module.
Include this module
C++ include
#include "ordered_draw_types.hpp"Types
OrderedDrawBlockStruct declared by the ordered-draw-types module for the ordered draw types module.StructOrderedDrawDataStruct declared by the ordered-draw-types module for the ordered draw types module.StructOrderedDrawStatsPublished with performance_stats at the end of the same completed frame.StructOrderedProjectionBlockSorted native record ranges; centers are cooked from immutable Q8 bounds.StructFunctions and methods
ordered_face_blockA face's projection block index sits above its two topology bits.Functionordered_projection_blockPerforms `ordered projection block` as part of the ordered draw types module.Functionordered_vertex_worldExact Q12 world position of a stored vertex, for the CPU and validation paths: (relative + center) * 16 + fraction reproduces the cooked Q12 value.FunctionFields, variables and values
actor_countExposes `actor_count` on `epok::OrderedDrawData` for the ordered draw types module.FieldactorsExposes `actors` on `epok::OrderedDrawData` for the ordered draw types module.Fieldanchor_rejectionsExposes `anchor_rejections` on `epok::OrderedDrawStats` for the ordered draw types module.Fieldanchored_verticesExposes `anchored_vertices` on `epok::OrderedDrawStats` for the ordered draw types module.Fieldblock_countExposes `block_count` on `epok::OrderedDrawData` for the ordered draw types module.FieldblocksExposes `blocks` on `epok::OrderedDrawData` for the ordered draw types module.Fieldcamera_basisExposes `camera_basis` on `epok::OrderedDrawStats` for the ordered draw types module.Fieldcamera_originExposes `camera_origin` on `epok::OrderedDrawStats` for the ordered draw types module.FieldcandidatesExposes `candidates` on `epok::OrderedDrawStats` for the ordered draw types module.FieldcapacityExposes `capacity` on `epok::OrderedDrawData` for the ordered draw types module.FieldcenterExposes `center` on `epok::OrderedProjectionBlock` for the ordered draw types module.Fieldclipped_candidatesExposes `clipped_candidates` on `epok::OrderedDrawStats` for the ordered draw types module.FieldcountExposes `count` on `epok::OrderedProjectionBlock` for the ordered draw types module.Fieldcpu_directExposes `cpu_direct` on `epok::OrderedDrawStats` for the ordered draw types module.FieldfirstExposes `first` on `epok::OrderedDrawBlock` for the ordered draw types module.FieldfirstExposes `first` on `epok::OrderedProjectionBlock` for the ordered draw types module.FieldflagsExposes `flags` on `epok::OrderedProjectionBlock` for the ordered draw types module.FieldframeExposes `frame` on `epok::OrderedDrawStats` for the ordered draw types module.Fieldframe_microsecondsExposes `frame_microseconds` on `epok::OrderedDrawStats` for the ordered draw types module.FieldhighExposes `high` on `epok::OrderedProjectionBlock` for the ordered draw types module.FieldlowExposes `low` on `epok::OrderedProjectionBlock` for the ordered draw types module.FieldoffsetExposes `offset` on `epok::OrderedDrawBlock` for the ordered draw types module.Fieldordered_draw_abiExposes `ordered_draw_abi` on the `epok` namespace for the ordered draw types module.Variableordered_draw_statsExposes `ordered_draw_stats` on the `epok` namespace for the ordered draw types module.Variableordered_projection_compactExposes `ordered_projection_compact` on the `epok` namespace for the ordered draw types module.Variableorigin_changesExposes `origin_changes` on `epok::OrderedDrawStats` for the ordered draw types module.FieldpacketsExposes `packets` on `epok::OrderedDrawStats` for the ordered draw types module.FieldpageExposes `page` on `epok::OrderedDrawBlock` for the ordered draw types module.Fieldpage_switchesExposes `page_switches` on `epok::OrderedDrawStats` for the ordered draw types module.Fieldprojection_countExposes `projection_count` on `epok::OrderedDrawData` for the ordered draw types module.FieldprojectionsExposes `projections` on `epok::OrderedDrawData` for the ordered draw types module.FieldquadsExposes `quads` on `epok::OrderedDrawStats` for the ordered draw types module.FieldreservedPadding to a power of two: a face's block is then found with a shift rather than a multiply by 52, once per candidate (12 bytes per block).Fieldrow_scaleExposes `row_scale` on `epok::OrderedDrawStats` for the ordered draw types module.FieldsampleExposes `sample` on `epok::OrderedDrawStats` for the ordered draw types module.Fieldsample_blocksExposes `sample_blocks` on `epok::OrderedDrawData` for the ordered draw types module.Fieldsample_countExposes `sample_count` on `epok::OrderedDrawData` for the ordered draw types module.FieldstateExposes `state` on `epok::OrderedProjectionBlock` for the ordered draw types module.FieldsumExposes `sum` on `epok::OrderedProjectionBlock` for the ordered draw types module.FieldxyExposes `xy` on `epok::OrderedProjectionBlock` for the ordered draw types module.Field