WebGLActiveInfo object

Contains data returned by getActiveAttrib or getActiveUniform calls.

IE11

 

Syntax


<body>
  <canvas id="canvas"></canvas>
   ...
<script>
  var gl = document.getElementById("canvas").getContext("experimental-webgl");
  ...
  var activeInfo = gl.getActiveAttrib(program, index); 

DOM Information

Inheritance Hierarchy

The WebGLActiveInfo does not inherit from any class or interface.

Members

The WebGLActiveInfo object has these types of members:

Properties

The WebGLActiveInfo object has these properties.

PropertyAccess typeDescription

name

Read-only

Represents the name of the data variable requested with a getActiveUniform or getActiveAttrib call.

size

Read-only

Represents the size of the data returned by getActiveUniform or getActiveAttrib calls.

type

Read-only

Represents the type of data returned by a getActiveUniform or getActiveAttrib call.

 

 

 

Show:
© 2014 Microsoft