gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
Allocator.allocateBuffer
gfx
memalloc
Allocator
Create a buffer, then allocate and bind memory for its requirements
class
Allocator
final
BufferAlloc
allocateBuffer
(
in
BufferUsage
usage
,
in
size_t
size
,
in
AllocOptions
options
=
AllocOptions.init
)
Meta
Source
See Implementation
gfx
memalloc
Allocator
constructors
this
functions
allocate
allocateBuffer
allocateImage
collectStats
dispose
tryAllocate
properties
device
variables
_device
_linearOptimalGranularity
_memProps
_options
Create a buffer, then allocate and bind memory for its requirements