Overview / Web Technology
Web technology reference for developers
HTML
Structure of content on the web
CSS
Code used to describe document style
JavaScript
General-purpose scripting language
HTTP
Protocol for transmitting web resources
Web APIs
Interfaces for building web applications
Web Extensions
Developing extensions for web browsers
Accessibility
Build web projects usable for all
Web Technology
Web technology reference for developers
Filter sidebar
In this articleWebGLTransformFeedback
WebGLObject
ExperimentalANGLE_instanced_arrays
EXT_blend_minmax
EXT_color_buffer_half_float
EXT_disjoint_timer_query
EXT_frag_depth
EXT_sRGB
EXT_shader_texture_lod
EXT_texture_filter_anisotropic
OES_draw_buffers_indexed
OES_element_index_uint
OES_standard_derivatives
OES_texture_float
OES_texture_float_linear
OES_texture_half_float
OES_texture_half_float_linear
OES_vertex_array_object
WEBGL_color_buffer_float
WEBGL_compressed_texture_etc1
WEBGL_compressed_texture_pvrtc
WEBGL_compressed_texture_s3tc
WEBGL_compressed_texture_s3tc_srgb
WEBGL_debug_renderer_info
WEBGL_debug_shaders
WEBGL_depth_texture
WEBGL_draw_buffers
WEBGL_lose_context
WebGL2RenderingContext
WebGLActiveInfo
WebGLBuffer
WebGLContextEvent
WebGLFramebuffer
WebGLObject
ExperimentalWebGLProgram
WebGLQuery
WebGLRenderbuffer
WebGLRenderingContext
WebGLSampler
WebGLShader
WebGLShaderPrecisionFormat
WebGLSync
WebGLTexture
WebGLUniformLocation
WebGLVertexArrayObject
Baseline Widely available
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since September 2021.
Note: This feature is available in Web Workers.
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:
WebGL2RenderingContext.createTransformFeedback()
WebGL2RenderingContext.deleteTransformFeedback()
WebGL2RenderingContext.isTransformFeedback()
WebGL2RenderingContext.bindTransformFeedback()
WebGL2RenderingContext.beginTransformFeedback()
WebGL2RenderingContext.endTransformFeedback()
WebGL2RenderingContext.pauseTransformFeedback()
WebGL2RenderingContext.resumeTransformFeedback()
WebGL2RenderingContext.transformFeedbackVaryings()
WebGL2RenderingContext.getTransformFeedbackVarying()
WebGLTransformFeedback
object
in this example, gl
must be a WebGL2RenderingContext
. WebGLTransformFeedback
objects are not available in WebGL 1.
js
const transformFeedback = gl.createTransformFeedback();
Specifications Specification WebGL 2.0 Specification .
This page was last modified on Sep 28, 2024 by MDN contributors.
View this page on GitHubâ¢
Report a problem with this contentRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3