VulkanBuffer

Undocumented in source.

Constructors

this
this(VkBuffer vkObj, VulkanDevice dev, BufferUsage usage, size_t size)
Undocumented in source.

Members

Functions

bindMemory
void bindMemory(DeviceMemory mem, size_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.
createTexelView
VulkanTexelBufferView createTexelView(Format format, size_t offset, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
device
Device device()
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

boundMemory
DeviceMemory boundMemory [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
memoryRequirements
MemoryRequirements memoryRequirements [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
size_t size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
usage
BufferUsage usage [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Buffer

device
Device device [@property getter]

Get the parent device

size
size_t size [@property getter]

The size in bytes of the buffer

usage
BufferUsage usage [@property getter]

The usage this buffer was created for

memoryRequirements
MemoryRequirements memoryRequirements [@property getter]

The memory allocation requirements for this buffer

bindMemory
void bindMemory(DeviceMemory mem, size_t offset)

Bind a the buffer to a device memory

boundMemory
DeviceMemory boundMemory [@property getter]

The memory this buffer is bound to

createTexelView
TexelBufferView createTexelView(Format format, size_t offset, size_t size)

Build a view to a part of this buffer to be used as texel buffer The returned resource keeps a reference to this buffer.

descriptor
BufferDescriptor descriptor(size_t offset, size_t size)

build a descriptor for this resource

Meta