EPOK RUNTIME
epok::QuadPacket
Struct
Struct
Per-quad attributes prepared once, then copied per emitted triangle.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. 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 texturedFieldshadedpacked 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