package js.html.webgl
Available on jsThe
WEBGL_draw_buffers
extension is part of the WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading, for example.Documentation WEBGL_draw_buffers by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
drawBuffersWEBGL (buffers:Array<Int>):Void
Defines the draw buffers to which all fragment colors are written. (When using WebGL2RenderingContext
, this method is available as WebGL2RenderingContext.drawBuffers()
by default).
static inline read only COLOR_ATTACHMENT0_WEBGL:Int = 36064
static inline read only COLOR_ATTACHMENT10_WEBGL:Int = 36074
static inline read only COLOR_ATTACHMENT11_WEBGL:Int = 36075
static inline read only COLOR_ATTACHMENT12_WEBGL:Int = 36076
static inline read only COLOR_ATTACHMENT13_WEBGL:Int = 36077
static inline read only COLOR_ATTACHMENT14_WEBGL:Int = 36078
static inline read only COLOR_ATTACHMENT15_WEBGL:Int = 36079
static inline read only COLOR_ATTACHMENT1_WEBGL:Int = 36065
static inline read only COLOR_ATTACHMENT2_WEBGL:Int = 36066
static inline read only COLOR_ATTACHMENT3_WEBGL:Int = 36067
static inline read only COLOR_ATTACHMENT4_WEBGL:Int = 36068
static inline read only COLOR_ATTACHMENT5_WEBGL:Int = 36069
static inline read only COLOR_ATTACHMENT6_WEBGL:Int = 36070
static inline read only COLOR_ATTACHMENT7_WEBGL:Int = 36071
static inline read only COLOR_ATTACHMENT8_WEBGL:Int = 36072
static inline read only COLOR_ATTACHMENT9_WEBGL:Int = 36073
static inline read only DRAW_BUFFER0_WEBGL:Int = 34853
static inline read only DRAW_BUFFER10_WEBGL:Int = 34863
static inline read only DRAW_BUFFER11_WEBGL:Int = 34864
static inline read only DRAW_BUFFER12_WEBGL:Int = 34865
static inline read only DRAW_BUFFER13_WEBGL:Int = 34866
static inline read only DRAW_BUFFER14_WEBGL:Int = 34867
static inline read only DRAW_BUFFER15_WEBGL:Int = 34868
static inline read only DRAW_BUFFER1_WEBGL:Int = 34854
static inline read only DRAW_BUFFER2_WEBGL:Int = 34855
static inline read only DRAW_BUFFER3_WEBGL:Int = 34856
static inline read only DRAW_BUFFER4_WEBGL:Int = 34857
static inline read only DRAW_BUFFER5_WEBGL:Int = 34858
static inline read only DRAW_BUFFER6_WEBGL:Int = 34859
static inline read only DRAW_BUFFER7_WEBGL:Int = 34860
static inline read only DRAW_BUFFER8_WEBGL:Int = 34861
static inline read only DRAW_BUFFER9_WEBGL:Int = 34862
static inline read only MAX_COLOR_ATTACHMENTS_WEBGL:Int = 36063
static inline read only MAX_DRAW_BUFFERS_WEBGL:Int = 34852
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/ExtensionDrawBuffers.html