mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-26 03:11:11 +00:00
Updated tokens for DrawBuffer() method. Fixes issue [#851]: "[OpenGL] DrawBuffer and DrawBuffers tokens" (http://www.opentk.com/node/851).
This commit is contained in:
parent
584fa7c761
commit
7f5150b0df
|
@ -6777,6 +6777,26 @@ DrawBuffersEnum enum:
|
||||||
use ARB_framebuffer_object COLOR_ATTACHMENT14
|
use ARB_framebuffer_object COLOR_ATTACHMENT14
|
||||||
use ARB_framebuffer_object COLOR_ATTACHMENT15
|
use ARB_framebuffer_object COLOR_ATTACHMENT15
|
||||||
|
|
||||||
|
# These tokens are only valid when the current FramebufferBinding is non-zero
|
||||||
|
# See page 182 of the 3.1 specs.
|
||||||
|
DrawBufferMode enum:
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT0
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT1
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT2
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT3
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT4
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT5
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT6
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT7
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT8
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT9
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT10
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT11
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT12
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT13
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT14
|
||||||
|
use ARB_framebuffer_object COLOR_ATTACHMENT15
|
||||||
|
|
||||||
FramebufferAttachmentObjectType enum:
|
FramebufferAttachmentObjectType enum:
|
||||||
NONE = 0
|
NONE = 0
|
||||||
use ARB_framebuffer_object FRAMEBUFFER_DEFAULT
|
use ARB_framebuffer_object FRAMEBUFFER_DEFAULT
|
||||||
|
|
|
@ -5213,6 +5213,22 @@ namespace OpenTK.Graphics
|
||||||
Aux1 = ((int)0X040a),
|
Aux1 = ((int)0X040a),
|
||||||
Aux2 = ((int)0X040b),
|
Aux2 = ((int)0X040b),
|
||||||
Aux3 = ((int)0X040c),
|
Aux3 = ((int)0X040c),
|
||||||
|
ColorAttachment0 = ((int)0X8ce0),
|
||||||
|
ColorAttachment1 = ((int)0X8ce1),
|
||||||
|
ColorAttachment2 = ((int)0X8ce2),
|
||||||
|
ColorAttachment3 = ((int)0X8ce3),
|
||||||
|
ColorAttachment4 = ((int)0X8ce4),
|
||||||
|
ColorAttachment5 = ((int)0X8ce5),
|
||||||
|
ColorAttachment6 = ((int)0X8ce6),
|
||||||
|
ColorAttachment7 = ((int)0X8ce7),
|
||||||
|
ColorAttachment8 = ((int)0X8ce8),
|
||||||
|
ColorAttachment9 = ((int)0X8ce9),
|
||||||
|
ColorAttachment10 = ((int)0X8cea),
|
||||||
|
ColorAttachment11 = ((int)0X8ceb),
|
||||||
|
ColorAttachment12 = ((int)0X8cec),
|
||||||
|
ColorAttachment13 = ((int)0X8ced),
|
||||||
|
ColorAttachment14 = ((int)0X8cee),
|
||||||
|
ColorAttachment15 = ((int)0X8cef),
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum DrawBuffersEnum
|
public enum DrawBuffersEnum
|
||||||
|
|
Loading…
Reference in a new issue