---
title: getFragDataLocation
framework: webkitjs
role: symbol
role_heading: Instance Method
path: webkitjs/webgl2renderingcontext/1632967-getfragdatalocation
---

# getFragDataLocation

## Declaration

```data
GLint getFragDataLocation(
    WebGLProgram? program, 
    DOMString name
);
```
