CommandEncoder.beginRenderPass - multiple declarations

Function CommandEncoder.beginRenderPass

Begins recording of a render pass.

RenderPass beginRenderPass (
  __C.WGPURenderPassColorAttachment[] colorAttachments,
  string label = null
);

This function returns a RenderPass object which records a single render pass.

Parameters

NameDescription
colorAttachments Color attachments of the render pass.
label Optional, human-readable debug label for the render pass.

Function CommandEncoder.beginRenderPass

Begins recording of a render pass.

RenderPass beginRenderPass (
  __C.WGPURenderPassColorAttachment colorAttachment,
  __C.WGPURenderPassDepthStencilAttachment* depthStencilAttachment = null,
  string label = null
);

This function returns a RenderPass object which records a single render pass.

Parameters

NameDescription
colorAttachment Color attachment of the render pass.
depthStencilAttachment Optional depth stencil attachment.
label Optional, human-readable debug label for the render pass.

Function CommandEncoder.beginRenderPass

Begins recording of a render pass.

RenderPass beginRenderPass (
  __C.WGPURenderPassColorAttachment[] colorAttachments,
  __C.WGPURenderPassDepthStencilAttachment* depthStencilAttachment = null,
  string label = null
);

This function returns a RenderPass object which records a single render pass.

Parameters

NameDescription
colorAttachments Color attachments of the render pass.
depthStencilAttachment Optional depth stencil attachment.
label Optional, human-readable debug label for the render pass.

Function CommandEncoder.beginRenderPass

Begins recording of a render pass.

RenderPass beginRenderPass (
  const(__C.WGPURenderPassDescriptor) descriptor
) @trusted;

This function returns a RenderPass object which records a single render pass.