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

◆ SetCellAddress() [2/2]

void * SRL::VDP2::RBG0::SetCellAddress ( void * address,
int size,
VDP2::RotationParameter param = VDP2::RotationParameter::Primary )
inline

Manually Sets VRAM area for Priamary or Secondary RBG0 Cell Data (For Advanced Use Cases).

This function manually sets an area in VRAM for Cell Data to be loaded to. Unless the Address is obtained using VDP2::VRAM::Allocate(), the VRAM allocator will be bypassed entirely. No Checks are performed for proper data alignment or cycle conflicts. For advanced use cases only.

Parameters
addressthe VRAM address of the allocation
sizethe size of the allocation
param(optional) The Rotation parameter that will use this address (Defaults to Primary)
Returns
Echoes Address
Note
For valid dual parameter access on RBG0, Secondary data must ALWAYS be allocated in the same bank as Primary data. This is not verified by this funciton.