WebGPUCommandEncoder

Undocumented in source.

Constructors

this
this(Handle h)
Undocumented in source.

Alias This

handle

Members

Functions

beginComputePass
void beginComputePass()
Undocumented in source. Be warned that the author may not have intended to support it.
beginRenderPass
void beginRenderPass(WebGPURenderPassDescriptor descriptor)
Undocumented in source. Be warned that the author may not have intended to support it.
beginRenderPass
void beginRenderPass()
Undocumented in source. Be warned that the author may not have intended to support it.
blit
void blit()
Undocumented in source. Be warned that the author may not have intended to support it.
copyBufferToBuffer
void copyBufferToBuffer(WebGPUBuffer src, u32 srcOffset, WebGPUBuffer dst, u32 dstOffset, u32 size)
Undocumented in source. Be warned that the author may not have intended to support it.
copyBufferToTexture
void copyBufferToTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
copyTextureToBuffer
void copyTextureToBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
copyTextureToTexture
void copyTextureToTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
dispatch
void dispatch(u32 x, u32 y, u32 z)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(u32 vertexCount, u32 instanceCount, u32 firstVertex, u32 firstInstance)
Undocumented in source. Be warned that the author may not have intended to support it.
drawIndexed
void drawIndexed(u32 indexCount, u32 instanceCount, u32 firstIndex, u32 firstInstance, u32 firstVertex)
Undocumented in source. Be warned that the author may not have intended to support it.
endComputePass
void endComputePass()
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.
finishEncoding
auto finishEncoding()
Undocumented in source. Be warned that the author may not have intended to support it.
setBindGroup
void setBindGroup(u32 index, WebGPUBindGroup bindGroup)
Undocumented in source. Be warned that the author may not have intended to support it.
setBlendColor
void setBlendColor(float r, float g, float b, float a)
Undocumented in source. Be warned that the author may not have intended to support it.
setIndexBuffer
void setIndexBuffer(WebGPUBuffer buffer, u32 offset)
Undocumented in source. Be warned that the author may not have intended to support it.
setPipeline
void setPipeline(SumType!(WebGPUComputePipeline, WebGPURenderPipeline) pipeline)
Undocumented in source. Be warned that the author may not have intended to support it.
setPushConstants
void setPushConstants(u32 stage, u32 offset, u32 count, ArrayBuffer data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVertexBuffers
void setVertexBuffers(u32 startSlot, Sequence!(WebGPUBuffer) buffers, Sequence!(u32) offsets)
Undocumented in source. Be warned that the author may not have intended to support it.
transitionBuffer
void transitionBuffer(WebGPUBuffer b, u32 f)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

handle
JsHandle handle;
Undocumented in source.

Meta