[GB.OPENGL]

* NEW: Add all constants for GL_EXT_framebufferobject extension


git-svn-id: svn://localhost/gambas/trunk@3985 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2011-08-07 16:32:54 +00:00
parent af119c4487
commit 950f22bd45

View File

@ -290,7 +290,58 @@ GB_DESC Cgl[] =
GB_STATIC_METHOD("BindFramebufferEXT", NULL, GLBINDFRAMEBUFFERSEXT, "(Target)i(Framebuffer)i"), GB_STATIC_METHOD("BindFramebufferEXT", NULL, GLBINDFRAMEBUFFERSEXT, "(Target)i(Framebuffer)i"),
GB_STATIC_METHOD("CheckFramebufferStatusEXT", "i", GLCHECKFRAMEBUFFERSTATUSEXT, "(Target)i"), GB_STATIC_METHOD("CheckFramebufferStatusEXT", "i", GLCHECKFRAMEBUFFERSTATUSEXT, "(Target)i"),
GB_CONSTANT("GL_FRAMEBUFFER_EXT", "i", GL_FRAMEBUFFER_EXT),
GB_CONSTANT("GL_RENDERBUFFER_EXT", "i", GL_RENDERBUFFER_EXT),
GB_CONSTANT("GL_STENCIL_INDEX1_EXT", "i", GL_STENCIL_INDEX1_EXT),
GB_CONSTANT("GL_STENCIL_INDEX4_EXT", "i", GL_STENCIL_INDEX4_EXT),
GB_CONSTANT("GL_STENCIL_INDEX8_EXT", "i", GL_STENCIL_INDEX8_EXT),
GB_CONSTANT("GL_STENCIL_INDEX16_EXT", "i", GL_STENCIL_INDEX16_EXT),
GB_CONSTANT("GL_RENDERBUFFER_WIDTH_EXT", "i", GL_RENDERBUFFER_WIDTH_EXT),
GB_CONSTANT("GL_RENDERBUFFER_HEIGHT_EXT", "i", GL_RENDERBUFFER_HEIGHT_EXT),
GB_CONSTANT("GL_RENDERBUFFER_INTERNAL_FORMAT_EXT", "i", GL_RENDERBUFFER_INTERNAL_FORMAT_EXT),
GB_CONSTANT("GL_RENDERBUFFER_RED_SIZE_EXT", "i", GL_RENDERBUFFER_RED_SIZE_EXT),
GB_CONSTANT("GL_RENDERBUFFER_GREEN_SIZE_EXT", "i", GL_RENDERBUFFER_GREEN_SIZE_EXT),
GB_CONSTANT("GL_RENDERBUFFER_BLUE_SIZE_EXT", "i", GL_RENDERBUFFER_BLUE_SIZE_EXT),
GB_CONSTANT("GL_RENDERBUFFER_ALPHA_SIZE_EXT", "i", GL_RENDERBUFFER_ALPHA_SIZE_EXT),
GB_CONSTANT("GL_RENDERBUFFER_DEPTH_SIZE_EXT", "i", GL_RENDERBUFFER_DEPTH_SIZE_EXT),
GB_CONSTANT("GL_RENDERBUFFER_STENCIL_SIZE_EXT", "i", GL_RENDERBUFFER_STENCIL_SIZE_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT", "i", GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT", "i", GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT", "i", GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT", "i", GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT", "i", GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT0_EXT", "i", GL_COLOR_ATTACHMENT0_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT1_EXT", "i", GL_COLOR_ATTACHMENT1_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT2_EXT", "i", GL_COLOR_ATTACHMENT2_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT3_EXT", "i", GL_COLOR_ATTACHMENT3_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT4_EXT", "i", GL_COLOR_ATTACHMENT4_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT5_EXT", "i", GL_COLOR_ATTACHMENT5_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT6_EXT", "i", GL_COLOR_ATTACHMENT6_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT7_EXT", "i", GL_COLOR_ATTACHMENT7_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT8_EXT", "i", GL_COLOR_ATTACHMENT8_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT9_EXT", "i", GL_COLOR_ATTACHMENT9_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT10_EXT", "i", GL_COLOR_ATTACHMENT10_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT11_EXT", "i", GL_COLOR_ATTACHMENT11_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT12_EXT", "i", GL_COLOR_ATTACHMENT12_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT13_EXT", "i", GL_COLOR_ATTACHMENT13_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT14_EXT", "i", GL_COLOR_ATTACHMENT14_EXT),
GB_CONSTANT("GL_COLOR_ATTACHMENT15_EXT", "i", GL_COLOR_ATTACHMENT15_EXT),
GB_CONSTANT("GL_DEPTH_ATTACHMENT_EXT", "i", GL_DEPTH_ATTACHMENT_EXT),
GB_CONSTANT("GL_STENCIL_ATTACHMENT_EXT", "i", GL_STENCIL_ATTACHMENT_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_COMPLETE_EXT", "i", GL_FRAMEBUFFER_COMPLETE_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT", "i", GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT", "i", GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT", "i", GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT", "i", GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT", "i", GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT", "i", GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_UNSUPPORTED_EXT", "i", GL_FRAMEBUFFER_UNSUPPORTED_EXT),
GB_CONSTANT("GL_FRAMEBUFFER_BINDING_EXT", "i", GL_FRAMEBUFFER_BINDING_EXT),
GB_CONSTANT("GL_RENDERBUFFER_BINDING_EXT", "i", GL_RENDERBUFFER_BINDING_EXT),
GB_CONSTANT("GL_MAX_COLOR_ATTACHMENTS_EXT", "i", GL_MAX_COLOR_ATTACHMENTS_EXT),
GB_CONSTANT("GL_MAX_RENDERBUFFER_SIZE_EXT", "i", GL_MAX_RENDERBUFFER_SIZE_EXT),
GB_CONSTANT("GL_INVALID_FRAMEBUFFER_OPERATION_EXT", "i", GL_INVALID_FRAMEBUFFER_OPERATION_EXT),
/********************/ /********************/
/* opengl constants */ /* opengl constants */
/********************/ /********************/