web api instance method
WebGL2RenderingContext: getTransformFeedbackVarying() method
Available in workers
The WebGL2RenderingContext.getTransformFeedbackVarying()
method of the WebGL 2 API returns
information about varying variables from WebGLTransformFeedback buffers.
Syntax
getTransformFeedbackVarying(program, index)
Parameters
program- : A
WebGLProgram.
- : A
index- : A
GLuintspecifying the index of the varying variable whose information to retrieve.
- : A
Return value
A WebGLActiveInfo object.
Examples
activeInfo = gl.getTransformFeedbackVarying(program, 0);
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.