gfx v0.2.0 (2020-11-15T11:15:14Z)
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