> Development branch documentation · commit 327c05c78d2f528e4f4a679fcc7a77d9aa161f48
> Package versions: @zenfg/webgpu 0.1.0, @zenfg/snapshot 0.1.0, @zenfg/inspector 0.1.0, zenfg 0.1.0, zenfg-snapshot 0.1.0
> Source: https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/webgpu/src/types.ts#L595

[ZenFG TypeScript API](/zenfg/docs/api/index.md) / [webgpu](/zenfg/docs/api/webgpu/index.md) / [root](/zenfg/docs/api/webgpu/root/index.md) / RenderDepthStencilAttachmentDesc

# Type Alias: RenderDepthStencilAttachmentDesc

> **RenderDepthStencilAttachmentDesc** = `RenderDepthStencilAttachmentBaseDesc` & \{ `depthLoadOp?`: `never`; `depthReadOnly`: `true`; `depthStoreOp?`: `never`; \} \| \{ `depthLoadOp`: `"load"`; `depthReadOnly?`: `false`; `depthStoreOp`: `GPUStoreOp`; \} \| \{ `depthClearValue`: `number`; `depthLoadOp`: `"clear"`; `depthReadOnly?`: `false`; `depthStoreOp`: `GPUStoreOp`; \}

Defined in: [packages/webgpu/src/types.ts:595](https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/webgpu/src/types.ts#L595)

**`Beta`**

Describes the depth attachment of a render-pass node.

FrameGraph currently accepts pure depth formats only. Formats containing a
stencil aspect are rejected when registered. Reverse-z clear and comparison
conventions remain caller-owned.
