gfx v0.1.0 (2018-12-16T20:49:04Z)
Dub
Repo
VulkanBuffer
gfx
vulkan
buffer
Undocumented in source.
package final
class
VulkanBuffer : VulkanDevObj!(VkBuffer, "DestroyBuffer"),
Buffer
{
this
(VkBuffer vkObj, VulkanDevice dev, BufferUsage usage, size_t size);
void
dispose
();
Device
device
();
BufferUsage
usage
[@property getter];
size_t
size
[@property getter];
MemoryRequirements
memoryRequirements
[@property getter];
void
bindMemory
(DeviceMemory mem, size_t offset);
DeviceMemory
boundMemory
[@property getter];
VulkanBufferView
createView
(Format format, size_t offset, size_t size);
}
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.
createView
VulkanBufferView
createView
(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]
Undocumented in source.
usage
BufferUsage
usage
[@property getter]
Undocumented in source.
memoryRequirements
MemoryRequirements
memoryRequirements
[@property getter]
Undocumented in source.
bindMemory
void
bindMemory
(DeviceMemory mem, size_t offset)
The buffer keeps a reference to the device memory
boundMemory
DeviceMemory
boundMemory
[@property getter]
Undocumented in source.
createView
BufferView
createView
(Format format, size_t offset, size_t size)
Undocumented in source.
Meta
Source
See Implementation
gfx
vulkan
buffer
classes
VulkanBuffer
VulkanBufferView