SaturnRingLibrary 0.9
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Attribute() [2/3]

SRL::Types::Attribute::Attribute ( const FaceVisibility visibility,
const SortMode sort,
const uint16_t texture,
uint16_t color,
uint16_t gouraud,
uint16_t mode,
uint32_t type,
uint16_t options )
inline

Construct a new custom quad attribute.

Parameters
visibilityIndicates whether to cull quads facing away from camera
sortIndicates sorting option for the drawing of the quad
textureTexture index or 0 for no texture
colorQuad color (Not in use if quad is textured), or texture palette index
gouraudGouraud table address
modeDisplay mode (display effects and color mode)
typeDisplay type (sprite, polygon, etc)
optionsDisplay options (light, gouraud, depth shading)