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

◆ GetSpriteAttribute()

static constexpr SPR_ATTR SRL::Scene2D::GetSpriteAttribute ( const uint16_t texture,
SRL::CRAM::Palette * texturePalette,
const Scene2D::ZoomPoint zoomPoint = Scene2D::ZoomPoint::Center )
inlinestaticconstexpr

Generates sprite attributes struct based on current effect flags.

Parameters
textureTexture identifier
texturePalettePalette override
zoomPointSprite zoom (origin) point
Returns
Sprite attributes