|
Ultralight C API 2.0.0
|
#include <AppCore/CAPI/CAPI_GPUDriverAsync.h>
A block of memory inside a buffer.
buffer is the whole buffer the block lives in (eg, one chunk your allocator handed out, or an image's pixels). Its user data (ulBufferGetUserData()) is whatever you set when you created it, eg, your native resource.
Public Attributes | |
| ULBuffer | buffer |
| The buffer holding this block (NULL when the block is empty). | |
| size_t | offset |
| The start of the block, in bytes from ulBufferGetData(). | |
| size_t | size |
| The size of the block, in bytes. | |
| unsigned int | usage |
| A combination of ULGPUMemoryUsage values. | |
| ULBuffer buffer |
The buffer holding this block (NULL when the block is empty).
| size_t offset |
The start of the block, in bytes from ulBufferGetData().
| size_t size |
The size of the block, in bytes.
| unsigned int usage |
A combination of ULGPUMemoryUsage values.