GlCommandBuffer

Undocumented in source.
package final
class GlCommandBuffer : CommandBuffer {}

Constructors

this
this(CommandPool pool, GLuint fbo)
Undocumented in source.

Members

Functions

begin
void begin(Flag!"persistent" persistent)
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.
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.
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.
setActiveSubpass
void setActiveSubpass(uint subpass)
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

pool
CommandPool pool [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From CommandBuffer

pool
CommandPool pool [@property getter]
Undocumented in source.
reset
void reset()
Undocumented in source.
begin
void begin(Flag!"persistent" persistent)
Undocumented in source.
end
void end()
Undocumented in source.
pipelineBarrier
void pipelineBarrier(Trans!PipelineStage stageTrans, BufferMemoryBarrier[] bufMbs, ImageMemoryBarrier[] imgMbs)
Undocumented in source.
clearColorImage
void clearColorImage(ImageBase image, ImageLayout layout, ClearColorValues clearValues, ImageSubresourceRange[] ranges)
Undocumented in source.
clearDepthStencilImage
void clearDepthStencilImage(ImageBase image, ImageLayout layout, ClearDepthStencilValues clearValues, ImageSubresourceRange[] ranges)
Undocumented in source.
fillBuffer
void fillBuffer(Buffer dst, size_t offset, size_t size, uint value)

Fills buffer from offset to offset+size with value

updateBuffer
void updateBuffer(Buffer dst, size_t offset, uint[] data)

Update buffer with the data passed as argument

copyBuffer
void copyBuffer(Trans!Buffer buffers, CopyRegion[] regions)
Undocumented in source.
copyBufferToImage
void copyBufferToImage(Buffer srcBuffer, ImageBase dstImage, ImageLayout dstLayout, BufferImageCopy[] regions)
Undocumented in source.
setViewport
void setViewport(uint firstViewport, Viewport[] viewports)
Undocumented in source.
setScissor
void setScissor(uint firstScissor, Rect[] scissors)
Undocumented in source.
setDepthBounds
void setDepthBounds(float minDepth, float maxDepth)
Undocumented in source.
setLineWidth
void setLineWidth(float lineWidth)
Undocumented in source.
setDepthBias
void setDepthBias(float constFactor, float clamp, float slopeFactor)
Undocumented in source.
setStencilCompareMask
void setStencilCompareMask(StencilFace faceMask, uint compareMask)
Undocumented in source.
setStencilWriteMask
void setStencilWriteMask(StencilFace faceMask, uint writeMask)
Undocumented in source.
setStencilReference
void setStencilReference(StencilFace faceMask, uint reference)
Undocumented in source.
setBlendConstants
void setBlendConstants(float[4] blendConstants)
Undocumented in source.
beginRenderPass
void beginRenderPass(RenderPass rp, Framebuffer fb, Rect area, ClearValues[] clearValues)
Undocumented in source.
nextSubpass
void nextSubpass()
Undocumented in source.
endRenderPass
void endRenderPass()
Undocumented in source.
bindPipeline
void bindPipeline(Pipeline pipeline)
Undocumented in source.
bindVertexBuffers
void bindVertexBuffers(uint firstBinding, VertexBinding[] bindings)
Undocumented in source.
bindIndexBuffer
void bindIndexBuffer(Buffer indexBuf, size_t offset, IndexType type)
Undocumented in source.
bindDescriptorSets
void bindDescriptorSets(PipelineBindPoint bindPoint, PipelineLayout layout, uint firstSet, DescriptorSet[] sets, size_t[] dynamicOffsets)
Undocumented in source.
pushConstants
void pushConstants(PipelineLayout layout, ShaderStage stages, size_t offset, size_t size, const(void)* data)
Undocumented in source.
draw
void draw(uint vertexCount, uint instanceCount, uint firstVertex, uint firstInstance)
Undocumented in source.
drawIndexed
void drawIndexed(uint indexCount, uint instanceCount, uint firstVertex, int vertexOffset, uint firstInstance)
Undocumented in source.

Meta