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
)
inline
static
constexpr
Generates sprite attributes struct based on current effect flags.
Parameters
texture
Texture identifier
texturePalette
Palette override
zoomPoint
Sprite zoom (origin) point
Returns
Sprite attributes
SRL
Scene2D