---
title: "GPUStencilFaceState | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs-qmgv.pages.dev/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface GPUStencilFaceState

interface GPUStencilFaceState {  
    [compare](#compare)?: [GPUCompareFunction](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUCompareFunction/);  
    [depthFailOp](#depthfailop)?: [GPUStencilOperation](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUStencilOperation/);  
    [failOp](#failop)?: [GPUStencilOperation](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUStencilOperation/);  
    [passOp](#passop)?: [GPUStencilOperation](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUStencilOperation/);  
}

##### Index

### Properties[](#properties)

[compare?](#compare) [depthFailOp?](#depthfailop) [failOp?](#failop) [passOp?](#passop)

## Properties[](#properties-1)

### `Optional`compare[](#compare)

compare?: [GPUCompareFunction](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUCompareFunction/)

### `Optional`depthFailOp[](#depthfailop)

depthFailOp?: [GPUStencilOperation](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUStencilOperation/)

### `Optional`failOp[](#failop)

failOp?: [GPUStencilOperation](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUStencilOperation/)

### `Optional`passOp[](#passop)

passOp?: [GPUStencilOperation](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUStencilOperation/)
