EPOK RUNTIME
epok::RetainedQuad
Struct
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.
Struct
Struct declared by the retained module for the retained module.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "retained.hpp"
epok::RetainedQuad& value = /* obtain a valid instance from your game */;Fields and constants
attribute_revisionfirst record only; UV/command source epochFieldchunk_dynamicOnly the first record of a chunk uses these two flags.FieldcommandGPU command byte with the transparency bitFielddepth_biasExposes `depth_bias` on `epok::RetainedQuad` for the retained module.FielddynamicUV scrolling: the per-frame path draws it insteadFieldfoggedper-parity bit: colour words currently hold fogged valuesFieldgpu_colorsOnly the first record of a chunk uses these two flags.Fieldshadedfog-free 0..255 corner coloursFieldtexturedExposes `textured` on `epok::RetainedQuad` for the retained module.Fieldvalid_paritiesOnly the first record of a chunk uses these two flags.Field