VulkanDevice

Undocumented in source.
package final
class VulkanDevice : VulkanObj!(VkDevice), Device {}

Constructors

this
this(VkDevice vkObj, VulkanPhysicalDevice pd, Instance inst)
Undocumented in source.

Members

Functions

allocateMemory
DeviceMemory allocateMemory(uint memTypeIndex, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
createBuffer
Buffer createBuffer(BufferUsage usage, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
createCommandPool
CommandPool createCommandPool(uint queueFamilyIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
createDescriptorPool
DescriptorPool createDescriptorPool(uint maxSets, DescriptorPoolSize[] sizes)
Undocumented in source. Be warned that the author may not have intended to support it.
createDescriptorSetLayout
DescriptorSetLayout createDescriptorSetLayout(PipelineLayoutBinding[] bindings)
Undocumented in source. Be warned that the author may not have intended to support it.
createFence
Fence createFence(Flag!"signaled" signaled)
Undocumented in source. Be warned that the author may not have intended to support it.
createFramebuffer
Framebuffer createFramebuffer(RenderPass rp, ImageView[] attachments, uint width, uint height, uint layers)
Undocumented in source. Be warned that the author may not have intended to support it.
createImage
Image createImage(ImageInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
createPipelineLayout
PipelineLayout createPipelineLayout(DescriptorSetLayout[] layouts, PushConstantRange[] ranges)
Undocumented in source. Be warned that the author may not have intended to support it.
createPipelines
Pipeline[] createPipelines(PipelineInfo[] infos)
Undocumented in source. Be warned that the author may not have intended to support it.
createRenderPass
RenderPass createRenderPass(AttachmentDescription[] attachments, SubpassDescription[] subpasses, SubpassDependency[] dependencies)
Undocumented in source. Be warned that the author may not have intended to support it.
createSampler
Sampler createSampler(SamplerInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
createSemaphore
Semaphore createSemaphore()
Undocumented in source. Be warned that the author may not have intended to support it.
createShaderModule
ShaderModule createShaderModule(const(uint)[] code, string entryPoint)
Undocumented in source. Be warned that the author may not have intended to support it.
createSwapchain
Swapchain createSwapchain(Surface graalSurface, PresentMode pm, uint numImages, Format format, uint[2] size, ImageUsage usage, CompositeAlpha alpha, Swapchain old)
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.
flushMappedMemory
void flushMappedMemory(MappedMemorySet set)
Undocumented in source. Be warned that the author may not have intended to support it.
getQueue
Queue getQueue(uint queueFamilyIndex, uint queueIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
invalidateMappedMemory
void invalidateMappedMemory(MappedMemorySet set)
Undocumented in source. Be warned that the author may not have intended to support it.
resetFences
void resetFences(Fence[] fences)
Undocumented in source. Be warned that the author may not have intended to support it.
updateDescriptorSets
void updateDescriptorSets(WriteDescriptorSet[] writeOps, CopyDescritporSet[] copyOps)
Undocumented in source. Be warned that the author may not have intended to support it.
waitForFences
void waitForFences(Fence[] fences, Flag!"waitAll" waitAll, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
waitIdle
void waitIdle()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

instance
Instance instance [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pd
VulkanPhysicalDevice pd [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
physicalDevice
PhysicalDevice physicalDevice [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
vk
VkDeviceCmds vk [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Device

physicalDevice
PhysicalDevice physicalDevice [@property getter]
Undocumented in source.
instance
Instance instance [@property getter]
Undocumented in source.
waitIdle
void waitIdle()

Wait that device finishes all operations in progress

getQueue
Queue getQueue(uint queueFamilyIndex, uint queueIndex)
Undocumented in source.
createCommandPool
CommandPool createCommandPool(uint queueFamilyIndex)
Undocumented in source.
allocateMemory
DeviceMemory allocateMemory(uint memPropIndex, size_t size)
Undocumented in source.
flushMappedMemory
void flushMappedMemory(MappedMemorySet set)
Undocumented in source.
invalidateMappedMemory
void invalidateMappedMemory(MappedMemorySet set)
Undocumented in source.
createBuffer
Buffer createBuffer(BufferUsage usage, size_t size)
Undocumented in source.
createImage
Image createImage(ImageInfo info)
Undocumented in source.
createSampler
Sampler createSampler(SamplerInfo info)
Undocumented in source.
createSemaphore
Semaphore createSemaphore()
Undocumented in source.
createFence
Fence createFence(Flag!"signaled" signaled)
Undocumented in source.
resetFences
void resetFences(Fence[] fences)
Undocumented in source.
waitForFences
void waitForFences(Fence[] fences, Flag!"waitAll" waitAll, Duration timeout)
Undocumented in source.
createSwapchain
Swapchain createSwapchain(Surface surface, PresentMode pm, uint numImages, Format format, uint[2] size, ImageUsage usage, CompositeAlpha alpha, Swapchain former)
Undocumented in source.
createRenderPass
RenderPass createRenderPass(AttachmentDescription[] attachments, SubpassDescription[] subpasses, SubpassDependency[] dependencies)
Undocumented in source.
createFramebuffer
Framebuffer createFramebuffer(RenderPass rp, ImageView[] attachments, uint width, uint height, uint layers)
Undocumented in source.
createShaderModule
ShaderModule createShaderModule(const(uint)[] spirV, string entryPoint)
Undocumented in source.
createDescriptorSetLayout
DescriptorSetLayout createDescriptorSetLayout(PipelineLayoutBinding[] bindings)
Undocumented in source.
createPipelineLayout
PipelineLayout createPipelineLayout(DescriptorSetLayout[] layouts, PushConstantRange[] ranges)
Undocumented in source.
createDescriptorPool
DescriptorPool createDescriptorPool(uint maxSets, DescriptorPoolSize[] sizes)
Undocumented in source.
updateDescriptorSets
void updateDescriptorSets(WriteDescriptorSet[] writeOps, CopyDescritporSet[] copyOps)
Undocumented in source.
createPipelines
Pipeline[] createPipelines(PipelineInfo[] infos)
Undocumented in source.

Meta