Vireo  0.0
Vireo 3D Rendering Hardware Interface
VideoMemoryAllocationDesc Struct Reference

Detailed Description

Description of a memory allocation

Public Attributes

VideoMemoryAllocationUsage usage
 Whether this allocation backs a buffer or an image. More...
 
std::string name
 Debug name of the allocated resource. More...
 
size_t size
 Size of the allocation in bytes. More...
 
void * ref
 Opaque pointer to the owning resource object. More...
 

Member Data Documentation

std::string name

Debug name of the allocated resource.

void* ref

Opaque pointer to the owning resource object.

size_t size

Size of the allocation in bytes.

Whether this allocation backs a buffer or an image.