Block struct
#include <nCine/Graphics/RHI/GXM/GxmMemory.h>
A GPU-visible allocation: the kernel block that owns it and its CPU-side base address.
Public functions
- auto IsValid() const -> bool
Public variables
- SceUID Uid
- Kernel memory-block identifier, or InvalidUid when the allocation failed.
- Kind MappedAs
- Address space the block is mapped into.
- void* Base
- Base address of the block, or
nullptrwhen the allocation failed. -
std::
uint32_t Size - Number of bytes actually reserved (the request rounded up to the block's page size).
-
std::
uint32_t UsseOffset - USSE offset of the block, for the two USSE allocators (0 otherwise).