---
title: "WebGLSampler | 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.

# Variable WebGLSampler

WebGLSampler: { prototype: [WebGLSampler](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLSampler/); new (): [WebGLSampler](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLSampler/) }

#### Type Declaration

-   -   new (): [WebGLSampler](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLSampler/)
    -   #### Returns [WebGLSampler](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLSampler/)
        
-   ##### prototype: [WebGLSampler](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WebGLSampler/)
