From ab279e63f8868358c9f991b690fa230d84ff66f0 Mon Sep 17 00:00:00 2001 From: Ioannis Tsakpinis Date: Mon, 6 Jun 2005 20:51:38 +0000 Subject: [PATCH] EXT_fbo spec changes --- .../lwjgl/opengl/EXT_framebuffer_object.java | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java b/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java index bbd8f694..bb2af80a 100644 --- a/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java +++ b/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java @@ -36,21 +36,22 @@ import org.lwjgl.util.generator.*; import java.nio.IntBuffer; public interface EXT_framebuffer_object { - /* + + /** * Accepted by the <target> parameter of BindFramebufferEXT, * CheckFramebufferStatusEXT, FramebufferTexture{1D|2D|3D}EXT, and * FramebufferRenderbufferEXT: */ int GL_FRAMEBUFFER_EXT = 0x8D40; - /* + /** * Accepted by the <target> parameter of BindRenderbufferEXT, * RenderbufferStorageEXT, and GetRenderbufferParameterivEXT, and * returned by GetFramebufferAttachmentParameterivEXT: */ int GL_RENDERBUFFER_EXT = 0x8D41; - /* + /** * Accepted by the <internalformat> parameter of * RenderbufferStorageEXT: */ @@ -60,14 +61,20 @@ public interface EXT_framebuffer_object { int GL_STENCIL_INDEX8_EXT = 0x8D48; int GL_STENCIL_INDEX16_EXT = 0x8D49; - /* - * Accepted by the <pname> parameter of GetRenderbufferParameterivEXT: - */ - int GL_RENDERBUFFER_WIDTH_EXT = 0x8D42; - int GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43; - int GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44; + /** + * Accepted by the <pname> parameter of GetRenderbufferParameterivEXT: + */ + int RENDERBUFFER_WIDTH_EXT = 0x8D42; + int RENDERBUFFER_HEIGHT_EXT =0x8D43; + int RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44; + int RENDERBUFFER_RED_SIZE_EXT = 0x8D50; + int RENDERBUFFER_GREEN_SIZE_EXT = 0x8D51; + int RENDERBUFFER_BLUE_SIZE_EXT = 0x8D52; + int RENDERBUFFER_ALPHA_SIZE_EXT = 0x8D53; + int RENDERBUFFER_DEPTH_SIZE_EXT = 0x8D54; + int RENDERBUFFER_STENCIL_SIZE_EXT = 0x8D55; - /* + /** * Accepted by the <pname> parameter of * GetFramebufferAttachmentParameterivEXT: */ @@ -77,7 +84,7 @@ public interface EXT_framebuffer_object { int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = 0x8CD3; int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4; - /* + /** * Accepted by the <attachment> parameter of * FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and * GetFramebufferAttachmentParameterivEXT @@ -113,7 +120,6 @@ public interface EXT_framebuffer_object { int GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = 0x8CDB; int GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = 0x8CDC; int GL_FRAMEBUFFER_UNSUPPORTED_EXT = 0x8CDD; - int GL_FRAMEBUFFER_STATUS_ERROR_EXT = 0x8CDE; /** * Accepted by GetIntegerv():