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

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

# Interface EXT\_frag\_depth

The **`EXT_frag_depth`** extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_frag_depth)
