EPOK RUNTIME
epok::QuadPacket
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
Per-quad attributes prepared once, then copied per emitted triangle.
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 "polygon.hpp"
epok::QuadPacket& value = /* obtain a valid instance from your game */;Fields and constants
clut16already shifted into the high halfwordFieldcommandGPU command byte with transparency bitFielddepth_biasExposes `depth_bias` on `epok::QuadPacket` for PSX polygon preparation, clipping and submission.Fieldfinal_colorpacked 0x00BBGGRR; modulated (128 = 1.0) when texturedFieldgpu_colorsshaded/clip values already use the PSX packet domainFieldshadedpacked fogged 0..255 colors kept for the clipperFieldtexturedExposes `textured` on `epok::QuadPacket` for PSX polygon preparation, clipping and submission.Fieldtpage16already shifted into the high halfwordFielduvu | v << 8Field