Monday, 26 December 2016

WebGLTransformFeedback

WebGLTransformFeedback

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
The WebGLTransformFeedback interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing. It allows to preserve the post-transform rendering state of an object and resubmit this data multiple times.
When working with WebGLTransformFeedback objects, the following methods of the WebGL2RenderingContext are useful:

Examples

Creating a WebGLTransformFeedback object

in this example, gl must be a WebGL2RenderingContextWebGLTransformFeedback objects are not available in WebGL 1.
var transformFeedback = gl.createTransformFeedback();

Specifications

SpecificationStatusComment
WebGL 2.0
The definition of 'WebGLTransformFeedback' in that specification.
Editor's DraftInitial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafariServo
Basic SupportNo support1No support51.0No supportNo supportNo supportNo support
1. To use an experimental implementation of WebGL 2 in Chrome, you have to start Chrome with the runtime flag --enable-unsafe-es3-apis.




0 comments:

Post a Comment

Popular Posts

Powered by Blogger.

Translate