WebGLUniformLocation object

Corresponds to the location of a uniform variable in a shader program.

IE11

 

Syntax


<body>
  <canvas id="canvas"></canvas>
  ...
<script>
  var gl = document.getElementById("canvas").getContext("experimental-webgl");
  ...
var location = gl.getUniformLocation(WebGLProgram, "uniformA");
 

DOM Information

Inheritance Hierarchy

The WebGLUniformLocation does not inherit from any class or interface.

Members

The WebGLUniformLocation object does not define any members.

 

 

Show:
© 2014 Microsoft