SaturnRingLibrary
0.9
SGL wrapper
Loading...
Searching...
No Matches
◆
TryAllocateTexture()
static int32_t SRL::VDP1::TryAllocateTexture
(
const uint16_t
width
,
const uint16_t
height
,
const
CRAM::TextureColorMode
colorMode
,
const uint16_t
palette
)
inline
static
Try to allocate a texture.
Parameters
width
Texture
width
height
Texture
height
colorMode
Color mode
palette
Palette start identifier in color RAM (not used in RGB555 mode)
Returns
Index of the allocated texture
SRL
VDP1