◆ ObjAllocator()
| DSC::ObjAllocator::ObjAllocator |
( |
Allocator * |
allocator, |
|
|
PaletteLoader * |
palette_loader, |
|
|
int |
bytes_per_entry = 32 |
|
) |
| |
creates a new ObjAllocator instance
- Parameters
-
| allocator | VRAM allocator to be used |
| bytes_per_entry | minimum bytes allocation block count (32, 64, 128, 256)
|
◆ allocate()
| bool DSC::ObjAllocator::allocate |
( |
ObjFrame * |
frame | ) |
|
allocates new block for the specified frame
- Parameters
-
◆ deallocate()
| void DSC::ObjAllocator::deallocate |
( |
ObjFrame * |
frame | ) |
|
deallocates new block for the specified frame
- Parameters
-
The documentation for this class was generated from the following file: