|
SBgl 0.1.0
A graphics framework in C99
|
Represents a slice of a persistent GPU buffer used for transient data. More...
#include <sbgl_graphics_hal.h>
Data Fields | |
| sbgl_Buffer | buffer |
| uint32_t | offset |
| uint32_t | size |
| void * | mapped |
| uint64_t | deviceAddress |
Represents a slice of a persistent GPU buffer used for transient data.
Definition at line 99 of file sbgl_graphics_hal.h.
| sbgl_Buffer sbgl_GfxTransientAllocation::buffer |
Handle to the underlying GPU buffer.
Definition at line 100 of file sbgl_graphics_hal.h.
| uint64_t sbgl_GfxTransientAllocation::deviceAddress |
GPU-side virtual address for the allocation.
Definition at line 104 of file sbgl_graphics_hal.h.
| void* sbgl_GfxTransientAllocation::mapped |
CPU-side pointer for writing data.
Definition at line 103 of file sbgl_graphics_hal.h.
| uint32_t sbgl_GfxTransientAllocation::offset |
Offset in bytes within the buffer.
Definition at line 101 of file sbgl_graphics_hal.h.
| uint32_t sbgl_GfxTransientAllocation::size |
Size in bytes of the allocated region.
Definition at line 102 of file sbgl_graphics_hal.h.