VulkanCommandBuffer

Undocumented in source.
package final
class VulkanCommandBuffer : PrimaryCommandBuffer , SecondaryCommandBuffer {}

Constructors

this
this(VkCommandBuffer vkObj, VulkanCommandPool pool, CommandBufferLevel level)
Undocumented in source.

Members

Functions

begin
void begin(CommandBufferUsage usage)
Undocumented in source. Be warned that the author may not have intended to support it.
beginRenderPass
void beginRenderPass(RenderPass rp, Framebuffer fb, Rect area, ClearValues[] clearValues)
Undocumented in source. Be warned that the author may not have intended to support it.
beginWithinRenderPass
void beginWithinRenderPass(CommandBufferUsage usage, RenderPass rp, Framebuffer fb, uint subpass)
Undocumented in source. Be warned that the author may not have intended to support it.
bindDescriptorSets
void bindDescriptorSets(PipelineBindPoint bindPoint, PipelineLayout layout, uint firstSet, DescriptorSet[] sets, size_t[] dynamicOffsets)
Undocumented in source. Be warned that the author may not have intended to support it.
bindIndexBuffer
void bindIndexBuffer(Buffer indexBuf, size_t offset, IndexType type)
Undocumented in source. Be warned that the author may not have intended to support it.
bindPipeline
void bindPipeline(Pipeline pipeline)
Undocumented in source. Be warned that the author may not have intended to support it.
bindVertexBuffers
void bindVertexBuffers(uint firstBinding, VertexBinding[] bindings)
Undocumented in source. Be warned that the author may not have intended to support it.
clearColorImage
void clearColorImage(ImageBase image, ImageLayout layout, ClearColorValues clearValues, ImageSubresourceRange[] ranges)
Undocumented in source. Be warned that the author may not have intended to support it.
clearDepthStencilImage
void clearDepthStencilImage(ImageBase image, ImageLayout layout, ClearDepthStencilValues clearValues, ImageSubresourceRange[] ranges)
Undocumented in source. Be warned that the author may not have intended to support it.
copyBuffer
void copyBuffer(Trans!Buffer buffers, CopyRegion[] regions)
Undocumented in source. Be warned that the author may not have intended to support it.
copyBufferToImage
void copyBufferToImage(Buffer srcBuffer, ImageBase dstImage, ImageLayout dstLayout, BufferImageCopy[] regions)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(uint vertexCount, uint instanceCount, uint firstVertex, uint firstInstance)
Undocumented in source. Be warned that the author may not have intended to support it.
drawIndexed
void drawIndexed(uint indexCount, uint instanceCount, uint firstVertex, int vertexOffset, uint firstInstance)
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end()
Undocumented in source. Be warned that the author may not have intended to support it.
endRenderPass
void endRenderPass()
Undocumented in source. Be warned that the author may not have intended to support it.
execute
void execute(SecondaryCommandBuffer[] buffers)
Undocumented in source. Be warned that the author may not have intended to support it.
fillBuffer
void fillBuffer(Buffer dst, size_t offset, size_t size, uint value)
Undocumented in source. Be warned that the author may not have intended to support it.
nextSubpass
void nextSubpass()
Undocumented in source. Be warned that the author may not have intended to support it.
pipelineBarrier
void pipelineBarrier(Trans!PipelineStage stageTrans, BufferMemoryBarrier[] bufMbs, ImageMemoryBarrier[] imgMbs)
Undocumented in source. Be warned that the author may not have intended to support it.
pushConstants
void pushConstants(PipelineLayout layout, ShaderStage stages, size_t offset, size_t size, const(void)* data)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
setBlendConstants
void setBlendConstants(float[4] blendConstants)
Undocumented in source. Be warned that the author may not have intended to support it.
setDepthBias
void setDepthBias(float constFactor, float clamp, float slopeFactor)
Undocumented in source. Be warned that the author may not have intended to support it.
setDepthBounds
void setDepthBounds(float minDepth, float maxDepth)
Undocumented in source. Be warned that the author may not have intended to support it.
setLineWidth
void setLineWidth(float lineWidth)
Undocumented in source. Be warned that the author may not have intended to support it.
setScissor
void setScissor(uint firstScissor, Rect[] scissors)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilCompareMask
void setStencilCompareMask(StencilFace faceMask, uint compareMask)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilReference
void setStencilReference(StencilFace faceMask, uint reference)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilWriteMask
void setStencilWriteMask(StencilFace faceMask, uint writeMask)
Undocumented in source. Be warned that the author may not have intended to support it.
setViewport
void setViewport(uint firstViewport, Viewport[] viewports)
Undocumented in source. Be warned that the author may not have intended to support it.
updateBuffer
void updateBuffer(Buffer dst, size_t offset, uint[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

level
CommandBufferLevel level [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pool
CommandPool pool [@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.
vkObj
VkCommandBuffer vkObj [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From PrimaryCommandBuffer

beginRenderPass
void beginRenderPass(RenderPass rp, Framebuffer fb, Rect area, ClearValues[] clearValues)

Place the command buffer into a render pass context

nextSubpass
void nextSubpass()
Undocumented in source.
endRenderPass
void endRenderPass()
Undocumented in source.
execute
void execute(SecondaryCommandBuffer[] buffers)

Execute secondary buffers into this primary buffer

From SecondaryCommandBuffer

beginWithinRenderPass
void beginWithinRenderPass(CommandBufferUsage usage, RenderPass rp, Framebuffer fb, uint subpass)

Switches the buffer to the "recording" state, acknowledging that the buffer will be executed within a render pass compatible with rp

Meta