Nugget
|
A primitive's CLUT command. More...
#include <psyqo/primitives/common.hh>
Public Member Functions | |
ClutIndex () | |
ClutIndex (Vertex v) | |
ClutIndex (uint16_t x, uint16_t y) | |
A primitive's CLUT command.
This is a common building block piece used in primitives. The binary representation is meant to be the same as the CLUT argument for GPU commands. The constructor can take either a Vertex
or the raw x and y coordinates for the CLUT to use.
Remember that CLUTs are aligned to 16 pixels, so the vertex coordinates are rounded to the lowest multiple of 16 on the X axis.
|
inline |
|
inline |
|
inline |