---
title: "WebGLActiveInfo | 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 WebGLActiveInfo

The **`WebGLActiveInfo`** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.

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

interface WebGLActiveInfo {  
    [name](#name): string;  
    [size](#size): number;  
    [type](#type): number;  
}

##### Index

### Properties[](#properties)

[name](#name) [size](#size) [type](#type)

## Properties[](#properties-1)

### `Readonly`name[](#name)

name: string

The read-only **`WebGLActiveInfo.name`** property represents the name of the requested data returned by calling the getActiveAttrib() or getActiveUniform() methods.

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

### `Readonly`size[](#size)

size: number

The read-only **`WebGLActiveInfo.size`** property is a Number representing the size of the requested data returned by calling the getActiveAttrib() or getActiveUniform() methods.

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

### `Readonly`type[](#type)

type: number

The read-only **`WebGLActiveInfo.type`** property represents the type of the requested data returned by calling the getActiveAttrib() or getActiveUniform() methods.

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