Added ColorAttachment[0-15] tokens to DrawBuffersEnum (page 182 of the 3.1 specs).
This commit is contained in:
parent
a9a4f7f575
commit
ac2c47e72b
2 changed files with 37 additions and 0 deletions
|
@ -6029,6 +6029,7 @@ DrawBuffersEnum enum:
|
|||
use DrawBufferMode AUX2
|
||||
use DrawBufferMode AUX3
|
||||
|
||||
|
||||
GetPName enum:
|
||||
MAX_DRAW_BUFFERS = 0x8824
|
||||
DRAW_BUFFER0 = 0x8825
|
||||
|
@ -6297,6 +6298,26 @@ FramebufferAttachment enum:
|
|||
use ARB_framebuffer_object STENCIL_ATTACHMENT
|
||||
use ARB_framebuffer_object DEPTH_STENCIL_ATTACHMENT
|
||||
|
||||
# These tokens are only valid when the current FramebufferBinding is non-zero
|
||||
# See page 182 of the 3.1 specs.
|
||||
DrawBuffersEnum 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:
|
||||
NONE = 0
|
||||
use ARB_framebuffer_object FRAMEBUFFER_DEFAULT
|
||||
|
|
|
@ -9870,6 +9870,22 @@ namespace OpenTK.Graphics
|
|||
Aux1 = ((int)0X040a),
|
||||
Aux2 = ((int)0X040b),
|
||||
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 PointSpriteCoordOriginParameter
|
||||
|
|
Loading…
Reference in a new issue