Interface GPURenderPassDepthStencilAttachment

Hierarchy

  • GPURenderPassDepthStencilAttachment

Properties

depthClearValue?: number

Indicates the value to clear view's depth component to prior to executing the render pass. Ignored if depthLoadOp is not GPULoadOp#"clear". Must be between 0.0 and 1.0, inclusive.

depthLoadOp?: GPULoadOp

Indicates the load operation to perform on view's depth component prior to executing the render pass. Note: It is recommended to prefer clearing; see GPULoadOp#"clear" for details.

depthReadOnly?: boolean

Indicates that the depth component of view is read only.

depthStoreOp?: GPUStoreOp

The store operation to perform on view's depth component after executing the render pass.

stencilClearValue?: number

Indicates the value to clear view's stencil component to prior to executing the render pass. Ignored if stencilLoadOp is not GPULoadOp#"clear". The value will be converted to the type of the stencil aspect of view by taking the same number of LSBs as the number of bits in the stencil aspect of one texel block of view.

stencilLoadOp?: GPULoadOp

Indicates the load operation to perform on view's stencil component prior to executing the render pass. Note: It is recommended to prefer clearing; see GPULoadOp#"clear" for details.

stencilReadOnly?: boolean

Indicates that the stencil component of view is read only.

stencilStoreOp?: GPUStoreOp

The store operation to perform on view's stencil component after executing the render pass.

A GPUTextureView describing the texture subresource that will be output to and read from for this depth/stencil attachment.

Generated using TypeDoc