Vireo  0.0
Vireo 3D Rendering Hardware Interface
VideoMemoryAllocationDesc Struct Reference

Detailed Description

Describes a single GPU memory allocation reported by Buffer.get_memory_allocations() or Image.get_memory_allocations().

Lua full name: vireo.VideoMemoryAllocationDesc

Properties

integer usage
 Whether this allocation backs a buffer or an image (implementation-defined integer). (read-only)
 
string name
 Debug name of the allocated resource. (read-only)
 
integer size
 Allocation size in bytes. (read-only)
 
any ref
 Opaque reference to the underlying API resource object. (read-only)
 

Property Documentation

integer usage

Whether this allocation backs a buffer or an image (implementation-defined integer). (read-only)

string name

Debug name of the allocated resource. (read-only)

integer size

Allocation size in bytes. (read-only)

any ref

Opaque reference to the underlying API resource object. (read-only)