SBgl 0.1.0
A graphics framework in C99
Loading...
Searching...
No Matches
sbgl_GfxTransientAllocation Struct Reference

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
 

Detailed Description

Represents a slice of a persistent GPU buffer used for transient data.

Definition at line 99 of file sbgl_graphics_hal.h.

Field Documentation

◆ buffer

sbgl_Buffer sbgl_GfxTransientAllocation::buffer

Handle to the underlying GPU buffer.

Definition at line 100 of file sbgl_graphics_hal.h.

◆ deviceAddress

uint64_t sbgl_GfxTransientAllocation::deviceAddress

GPU-side virtual address for the allocation.

Definition at line 104 of file sbgl_graphics_hal.h.

◆ mapped

void* sbgl_GfxTransientAllocation::mapped

CPU-side pointer for writing data.

Definition at line 103 of file sbgl_graphics_hal.h.

◆ offset

uint32_t sbgl_GfxTransientAllocation::offset

Offset in bytes within the buffer.

Definition at line 101 of file sbgl_graphics_hal.h.

◆ size

uint32_t sbgl_GfxTransientAllocation::size

Size in bytes of the allocated region.

Definition at line 102 of file sbgl_graphics_hal.h.


The documentation for this struct was generated from the following file: