OES_draw_buffers_indexed extension type
The OES_draw_buffers_indexed
extension is part of the
WebGL API and
enables the use of different blend options when writing to multiple color
buffers simultaneously.
WebGL extensions are available using the WebGLRenderingContext.getExtension method. For more information, see also Using Extensions in the WebGL tutorial.
Note: This extension is only available to WebGL2RenderingContext contexts.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
blendEquationiOES(
GLuint buf, GLenum mode) → void -
The
blendEquationiOES()
method of theOES_draw_buffers_indexed
WebGL extension sets both the RGB blend and alpha blend equations for a particular draw buffer. -
blendEquationSeparateiOES(
GLuint buf, GLenum modeRGB, GLenum modeAlpha) → void -
The
blendEquationSeparateiOES()
method of the OES_draw_buffers_indexed WebGL extension sets the RGB and alpha blend equations separately for a particular draw buffer. -
blendFunciOES(
GLuint buf, GLenum src, GLenum dst) → void -
The
blendFunciOES()
method of the OES_draw_buffers_indexed WebGL extension defines which function is used when blending pixels for a particular draw buffer. -
blendFuncSeparateiOES(
GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) → void -
The
blendFuncSeparateiOES()
method of the OES_draw_buffers_indexed WebGL extension defines which function is used when blending pixels for RGB and alpha components separately for a particular draw buffer. -
colorMaskiOES(
GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a) → void -
The
colorMaskiOES()
method of the OES_draw_buffers_indexed WebGL extension sets which color components to enable or to disable when drawing or rendering for a particular draw buffer. It's the indexed version of WebGL 1's WebGLRenderingContext.colorMask method. -
disableiOES(
GLenum target, GLuint index) → void -
The
disableiOES()
method of the OES_draw_buffers_indexed WebGL extension enables blending for a particular draw buffer. -
enableiOES(
GLenum target, GLuint index) → void -
The
enableiOES()
method of the OES_draw_buffers_indexed WebGL extension enables blending for a particular draw buffer. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited