OES_draw_buffers_indexed

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.

MDN Reference

Functions

Link copied to clipboard
abstract fun blendEquationiOES(buf: GLuint, mode: GLenum)

The blendEquationiOES() method of the OES_draw_buffers_indexed WebGL extension sets both the RGB blend and alpha blend equations for a particular draw buffer.

Link copied to clipboard
abstract fun blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum)

The blendEquationSeparateiOES() method of the OES_draw_buffers_indexed WebGL extension sets the RGB and alpha blend equations separately for a particular draw buffer.

Link copied to clipboard
abstract fun blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum)

The blendFunciOES() method of the OES_draw_buffers_indexed WebGL extension defines which function is used when blending pixels for a particular draw buffer.

Link copied to clipboard
abstract fun blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum)

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.

Link copied to clipboard
abstract fun colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean)

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.

Link copied to clipboard
abstract fun disableiOES(target: GLenum, index: GLuint)

The disableiOES() method of the OES_draw_buffers_indexed WebGL extension enables blending for a particular draw buffer.

Link copied to clipboard
abstract fun enableiOES(target: GLenum, index: GLuint)

The enableiOES() method of the OES_draw_buffers_indexed WebGL extension enables blending for a particular draw buffer.