# STENCILOP_REPLACE

Variable · category: Graphics

Source: https://github.com/playcanvas/engine/blob/f059dc005842f76e052cdf44d8370c8c7ec475ac/src/platform/graphics/constants.js#L1640

Replace value with the reference value (see [StencilParameters](https://api.playcanvas.com/engine/classes/StencilParameters.md)).

```ts
const STENCILOP_REPLACE: 2 = 2
```
