EPOK RUNTIME
Retained
retained.hpp · the retained module
Module
the retained module.
Include this module
C++ include
#include "retained.hpp"Types
RetainedGeometryClass template declared by the retained module for the retained module.Class templateRetainedKeyStruct declared by the retained module for the retained module.StructRetainedQuadStruct declared by the retained module for the retained module.StructRetainedStatsPer-frame counters: retained objects drawn and packet rebuilds.StructStateStruct declared by the retained module for the retained module.StructFunctions and methods
allocate`limit_slot` is the lowest slot the per-frame path used this frame, which a new allocation must not reach.Methodfirst_slotPerforms `first slot` as part of the retained module.MethodforgetA reused entity slot keeps its quads; a different geometry reallocates.Methodoperator==Performs `operator ==` as part of the retained module.MethodquadsPerforms `quads` as part of the retained module.MethodresetResets reset as part of the retained module.Methodslot_topFirst fragment slot beyond the pool; the per-frame path allocates downwards from the capacity.MethodstatePerforms `state` as part of the retained module.MethodFields, variables and values
allocatedExposes `allocated` on `epok::RetainedGeometry::State` for the retained module.Fieldany_dynamicExposes `any_dynamic` on `epok::RetainedGeometry::State` for the retained module.FieldbakedExposes `baked` on `epok::RetainedKey` for the retained module.Fieldbaked_countExposes `baked_count` on `epok::RetainedKey` for the retained module.FieldbankExposes `bank` on `epok::RetainedKey` for the retained module.FieldbasisExposes `basis` on `epok::RetainedKey` for the retained module.FieldblendExposes `blend` on `epok::RetainedKey` for the retained module.Fieldchunk_dynamicOnly the first record of a chunk uses these two flags.FieldcolorAll-zero defaults keep the pool in .bss; `valid` gates every comparison.FieldcommandGPU command byte with the transparency bitFielddepth_biasExposes `depth_bias` on `epok::RetainedKey` for the retained module.Fielddepth_biasExposes `depth_bias` on `epok::RetainedQuad` for the retained module.FielddynamicUV scrolling: the per-frame path draws it insteadFieldfirst_quadExposes `first_quad` on `epok::RetainedGeometry::State` for the retained module.Fieldfoggedper-parity bit: colour words currently hold fogged valuesFieldgenerationExposes `generation` on `epok::RetainedKey` for the retained module.FieldgeometryExposes `geometry` on `epok::RetainedGeometry::State` for the retained module.FieldgeometryExposes `geometry` on `epok::RetainedKey` for the retained module.FieldkeyExposes `key` on `epok::RetainedGeometry::State` for the retained module.Fieldlight_signatureExposes `light_signature` on `epok::RetainedKey` for the retained module.Fieldlighting_enabledExposes `lighting_enabled` on `epok::RetainedKey` for the retained module.FieldobjectsExposes `objects` on `epok::RetainedStats` for the retained module.FieldpadOnly the first record of a chunk uses these two flags.Fieldquad_capacityExposes `quad_capacity` on `epok::RetainedGeometry` for the retained module.Variablequad_countExposes `quad_count` on `epok::RetainedGeometry::State` for the retained module.FieldrebuildsExposes `rebuilds` on `epok::RetainedStats` for the retained module.FieldreceiveExposes `receive` on `epok::RetainedKey` for the retained module.Fieldretained_statsExposes `retained_stats` on the `epok` namespace for the retained module.Variableshadedfog-free 0..255 corner coloursFieldstream_validatedExposes `stream_validated` on `epok::RetainedGeometry::State` for the retained module.FieldtextureExposes `texture` on `epok::RetainedKey` for the retained module.FieldtexturedExposes `textured` on `epok::RetainedQuad` for the retained module.FieldunlitExposes `unlit` on `epok::RetainedKey` for the retained module.Fielduv_scrollExposes `uv_scroll` on `epok::RetainedKey` for the retained module.FieldvalidExposes `valid` on `epok::RetainedKey` for the retained module.Fieldvalid_paritiesOnly the first record of a chunk uses these two flags.Field