# GpuRenderState

`import { GpuRenderState } from "destack:gpu/binding";`

Render-state descriptor.

```ds title="GpuRenderState"
export struct GpuRenderState {
    primitive: GpuPrimitiveState;
    depthStencil: GpuDepthStencilState;
    multisample: GpuMultisampleState;
}
```

[language/library/src/gpu/binding/pipeline.ds:481:488](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/pipeline.ds#L481-L488)

## Members

### `primitive: GpuPrimitiveState`

Primitive-state descriptor.

### `depthStencil: GpuDepthStencilState`

Depth-stencil-state descriptor when enabled.

### `multisample: GpuMultisampleState`

Multisample-state descriptor.
