Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class EXTFramebufferObject

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

Native bindings to the EXT_framebuffer_object extension.

This extension defines a simple interface for drawing to rendering destinations other than the buffers provided to the GL by the window-system.

In this extension, these newly defined rendering destinations are known collectively as "framebuffer-attachable images". This extension provides a mechanism for attaching framebuffer-attachable images to the GL framebuffer as one of the standard GL logical buffers: color, depth, and stencil. (Attaching a framebuffer-attachable image to the accum logical buffer is left for a future extension to define). When a framebuffer-attachable image is attached to the framebuffer, it is used as the source and destination of fragment operations.

By allowing the use of a framebuffer-attachable image as a rendering destination, this extension enables a form of "offscreen" rendering. Furthermore, "render to texture" is supported by allowing the images of a texture to be used as framebuffer-attachable images. A particular image of a texture object is selected for use as a framebuffer-attachable image by specifying the mipmap level, cube map face (for a cube map texture), and z-offset (for a 3D texture) that identifies the image. The "render to texture" semantics of this extension are similar to performing traditional rendering to the framebuffer, followed immediately by a call to CopyTexSubImage. However, by using this extension instead, an application can achieve the same effect, but with the advantage that the GL can usually eliminate the data copy that would have been incurred by calling CopyTexSubImage.

This extension also defines a new GL object type, called a "renderbuffer", which encapsulates a single 2D pixel image. The image of renderbuffer can be used as a framebuffer-attachable image for generalized offscreen rendering and it also provides a means to support rendering to GL logical buffer types which have no corresponding texture format (stencil, accum, etc). A renderbuffer is similar to a texture in that both renderbuffers and textures can be independently allocated and shared among multiple contexts. The framework defined by this extension is general enough that support for attaching images from GL objects other than textures and renderbuffers could be added by layered extensions.

To facilitate efficient switching between collections of framebuffer-attachable images, this extension introduces another new GL object, called a framebuffer object. A framebuffer object contains the state that defines the traditional GL framebuffer, including its set of images. Prior to this extension, it was the window-system which defined and managed this collection of images, traditionally by grouping them into a "drawable". The window-system API's would also provide a function (i.e., wglMakeCurrent, glXMakeCurrent, aglSetDrawable, etc.) to bind a drawable with a GL context (as is done in the WGL_ARB_pbuffer extension). In this extension however, this functionality is subsumed by the GL and the GL provides the function BindFramebufferEXT to bind a framebuffer object to the current context. Later, the context can bind back to the window-system-provided framebuffer in order to display rendered content.

Previous extensions that enabled rendering to a texture have been much more complicated. One example is the combination of ARB_pbuffer and ARB_render_texture, both of which are window-system extensions. This combination requires calling MakeCurrent, an operation that may be expensive, to switch between the window and the pbuffer drawables. An application must create one pbuffer per renderable texture in order to portably use ARB_render_texture. An application must maintain at least one GL context per texture format, because each context can only operate on a single pixelformat or FBConfig. All of these characteristics make ARB_render_texture both inefficient and cumbersome to use.

EXT_framebuffer_object, on the other hand, is both simpler to use and more efficient than ARB_render_texture. The EXT_framebuffer_object API is contained wholly within the GL API and has no (non-portable) window-system components. Under EXT_framebuffer_object, it is not necessary to create a second GL context when rendering to a texture image whose format differs from that of the window. Finally, unlike the pbuffers of ARB_render_texture, a single framebuffer object can facilitate rendering to an unlimited number of texture objects.

Promoted to core in OpenGL 3.0.

Field Summary

Modifier and TypeField and Description
public static final int
GL_COLOR_ATTACHMENT0_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT10_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT11_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT12_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT13_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT14_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT15_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT1_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT2_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT3_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT4_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT5_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT6_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT7_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT8_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_COLOR_ATTACHMENT9_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_DEPTH_ATTACHMENT_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

public static final int
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

public static final int
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

public static final int
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

public static final int
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

public static final int
GL_FRAMEBUFFER_BINDING_EXT

Accepted by GetIntegerv().

public static final int
GL_FRAMEBUFFER_COMPLETE_EXT

Returned by CheckFramebufferStatusEXT().

public static final int
GL_FRAMEBUFFER_EXT

Accepted by the target parameter of BindFramebufferEXT, CheckFramebufferStatusEXT, FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT

Returned by CheckFramebufferStatusEXT().

public static final int
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT

Returned by CheckFramebufferStatusEXT().

public static final int
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT

Returned by CheckFramebufferStatusEXT().

public static final int
GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT

Returned by CheckFramebufferStatusEXT().

public static final int
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT

Returned by CheckFramebufferStatusEXT().

public static final int
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT

Returned by CheckFramebufferStatusEXT().

public static final int
GL_FRAMEBUFFER_UNSUPPORTED_EXT

Returned by CheckFramebufferStatusEXT().

public static final int
GL_INVALID_FRAMEBUFFER_OPERATION_EXT

Returned by GetError().

public static final int
GL_MAX_COLOR_ATTACHMENTS_EXT

Accepted by GetIntegerv().

public static final int
GL_MAX_RENDERBUFFER_SIZE_EXT

Accepted by GetIntegerv().

public static final int
GL_RENDERBUFFER_ALPHA_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

public static final int
GL_RENDERBUFFER_BINDING_EXT

Accepted by GetIntegerv().

public static final int
GL_RENDERBUFFER_BLUE_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

public static final int
GL_RENDERBUFFER_DEPTH_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

public static final int
GL_RENDERBUFFER_EXT

Accepted by the target parameter of BindRenderbufferEXT, RenderbufferStorageEXT, and GetRenderbufferParameterivEXT, and returned by GetFramebufferAttachmentParameterivEXT.

public static final int
GL_RENDERBUFFER_GREEN_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

public static final int
GL_RENDERBUFFER_HEIGHT_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

public static final int
GL_RENDERBUFFER_INTERNAL_FORMAT_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

public static final int
GL_RENDERBUFFER_RED_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

public static final int
GL_RENDERBUFFER_STENCIL_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

public static final int
GL_RENDERBUFFER_WIDTH_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

public static final int
GL_STENCIL_ATTACHMENT_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

public static final int
GL_STENCIL_INDEX16_EXT

Accepted by the internalformat parameter of RenderbufferStorageEXT.

public static final int
GL_STENCIL_INDEX1_EXT

Accepted by the internalformat parameter of RenderbufferStorageEXT.

public static final int
GL_STENCIL_INDEX4_EXT

Accepted by the internalformat parameter of RenderbufferStorageEXT.

public static final int
GL_STENCIL_INDEX8_EXT

Accepted by the internalformat parameter of RenderbufferStorageEXT.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glBindFramebufferEXT(int target, int framebuffer)

public static native void
glBindRenderbufferEXT(int target, int renderbuffer)

public static native int
public static void
public static void
glDeleteFramebuffersEXT(int framebuffer)

public static void
glDeleteFramebuffersEXT(int[] framebuffers)

Array version of: DeleteFramebuffersEXT

public static void
public static void
glDeleteRenderbuffersEXT(int renderbuffer)

public static void
glDeleteRenderbuffersEXT(int[] renderbuffers)

Array version of: DeleteRenderbuffersEXT

public static native void
glFramebufferRenderbufferEXT(int target, int attachment, int renderbuffertarget, int renderbuffer)

public static native void
glFramebufferTexture1DEXT(int target, int attachment, int textarget, int texture, int level)

public static native void
glFramebufferTexture2DEXT(int target, int attachment, int textarget, int texture, int level)

public static native void
glFramebufferTexture3DEXT(int target, int attachment, int textarget, int texture, int level, int zoffset)

public static native void
glGenerateMipmapEXT(int target)

public static void
public static int
public static void
glGenFramebuffersEXT(int[] framebuffers)

Array version of: GenFramebuffersEXT

public static void
public static int
public static void
glGenRenderbuffersEXT(int[] renderbuffers)

Array version of: GenRenderbuffersEXT

public static int
glGetFramebufferAttachmentParameteriEXT(int target, int attachment, int pname)

public static void
glGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, IntBuffer params)

public static void
glGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, int[] params)

Array version of: GetFramebufferAttachmentParameterivEXT

public static int
glGetRenderbufferParameteriEXT(int target, int pname)

public static void
glGetRenderbufferParameterivEXT(int target, int pname, IntBuffer params)

public static void
glGetRenderbufferParameterivEXT(int target, int pname, int[] params)

Array version of: GetRenderbufferParameterivEXT

public static native boolean
glIsFramebufferEXT(int framebuffer)

public static native boolean
glIsRenderbufferEXT(int renderbuffer)

public static native void
glRenderbufferStorageEXT(int target, int internalformat, int width, int height)

public static native void
nglDeleteFramebuffersEXT(int n, long framebuffers)

public static native void
nglDeleteRenderbuffersEXT(int n, long renderbuffers)

public static native void
nglGenFramebuffersEXT(int n, long framebuffers)

public static native void
nglGenRenderbuffersEXT(int n, long renderbuffers)

public static native void
nglGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, long params)

public static native void
nglGetRenderbufferParameterivEXT(int target, int pname, long params)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_COLOR_ATTACHMENT0_EXTback to summary
public static final int GL_COLOR_ATTACHMENT0_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT10_EXTback to summary
public static final int GL_COLOR_ATTACHMENT10_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT11_EXTback to summary
public static final int GL_COLOR_ATTACHMENT11_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT12_EXTback to summary
public static final int GL_COLOR_ATTACHMENT12_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT13_EXTback to summary
public static final int GL_COLOR_ATTACHMENT13_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT14_EXTback to summary
public static final int GL_COLOR_ATTACHMENT14_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT15_EXTback to summary
public static final int GL_COLOR_ATTACHMENT15_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT1_EXTback to summary
public static final int GL_COLOR_ATTACHMENT1_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT2_EXTback to summary
public static final int GL_COLOR_ATTACHMENT2_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT3_EXTback to summary
public static final int GL_COLOR_ATTACHMENT3_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT4_EXTback to summary
public static final int GL_COLOR_ATTACHMENT4_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT5_EXTback to summary
public static final int GL_COLOR_ATTACHMENT5_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT6_EXTback to summary
public static final int GL_COLOR_ATTACHMENT6_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT7_EXTback to summary
public static final int GL_COLOR_ATTACHMENT7_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT8_EXTback to summary
public static final int GL_COLOR_ATTACHMENT8_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_COLOR_ATTACHMENT9_EXTback to summary
public static final int GL_COLOR_ATTACHMENT9_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_DEPTH_ATTACHMENT_EXTback to summary
public static final int GL_DEPTH_ATTACHMENT_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXTback to summary
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXTback to summary
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXTback to summary
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXTback to summary
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXTback to summary
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT

Accepted by the pname parameter of GetFramebufferAttachmentParameterivEXT.

GL_FRAMEBUFFER_BINDING_EXTback to summary
public static final int GL_FRAMEBUFFER_BINDING_EXT

Accepted by GetIntegerv().

GL_FRAMEBUFFER_COMPLETE_EXTback to summary
public static final int GL_FRAMEBUFFER_COMPLETE_EXT

Returned by CheckFramebufferStatusEXT().

GL_FRAMEBUFFER_EXTback to summary
public static final int GL_FRAMEBUFFER_EXT

Accepted by the target parameter of BindFramebufferEXT, CheckFramebufferStatusEXT, FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXTback to summary
public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT

Returned by CheckFramebufferStatusEXT().

GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXTback to summary
public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT

Returned by CheckFramebufferStatusEXT().

GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXTback to summary
public static final int GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT

Returned by CheckFramebufferStatusEXT().

GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXTback to summary
public static final int GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT

Returned by CheckFramebufferStatusEXT().

GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXTback to summary
public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT

Returned by CheckFramebufferStatusEXT().

GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXTback to summary
public static final int GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT

Returned by CheckFramebufferStatusEXT().

GL_FRAMEBUFFER_UNSUPPORTED_EXTback to summary
public static final int GL_FRAMEBUFFER_UNSUPPORTED_EXT

Returned by CheckFramebufferStatusEXT().

GL_INVALID_FRAMEBUFFER_OPERATION_EXTback to summary
public static final int GL_INVALID_FRAMEBUFFER_OPERATION_EXT

Returned by GetError().

GL_MAX_COLOR_ATTACHMENTS_EXTback to summary
public static final int GL_MAX_COLOR_ATTACHMENTS_EXT

Accepted by GetIntegerv().

GL_MAX_RENDERBUFFER_SIZE_EXTback to summary
public static final int GL_MAX_RENDERBUFFER_SIZE_EXT

Accepted by GetIntegerv().

GL_RENDERBUFFER_ALPHA_SIZE_EXTback to summary
public static final int GL_RENDERBUFFER_ALPHA_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

GL_RENDERBUFFER_BINDING_EXTback to summary
public static final int GL_RENDERBUFFER_BINDING_EXT

Accepted by GetIntegerv().

GL_RENDERBUFFER_BLUE_SIZE_EXTback to summary
public static final int GL_RENDERBUFFER_BLUE_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

GL_RENDERBUFFER_DEPTH_SIZE_EXTback to summary
public static final int GL_RENDERBUFFER_DEPTH_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

GL_RENDERBUFFER_EXTback to summary
public static final int GL_RENDERBUFFER_EXT

Accepted by the target parameter of BindRenderbufferEXT, RenderbufferStorageEXT, and GetRenderbufferParameterivEXT, and returned by GetFramebufferAttachmentParameterivEXT.

GL_RENDERBUFFER_GREEN_SIZE_EXTback to summary
public static final int GL_RENDERBUFFER_GREEN_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

GL_RENDERBUFFER_HEIGHT_EXTback to summary
public static final int GL_RENDERBUFFER_HEIGHT_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

GL_RENDERBUFFER_INTERNAL_FORMAT_EXTback to summary
public static final int GL_RENDERBUFFER_INTERNAL_FORMAT_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

GL_RENDERBUFFER_RED_SIZE_EXTback to summary
public static final int GL_RENDERBUFFER_RED_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

GL_RENDERBUFFER_STENCIL_SIZE_EXTback to summary
public static final int GL_RENDERBUFFER_STENCIL_SIZE_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

GL_RENDERBUFFER_WIDTH_EXTback to summary
public static final int GL_RENDERBUFFER_WIDTH_EXT

Accepted by the pname parameter of GetRenderbufferParameterivEXT.

GL_STENCIL_ATTACHMENT_EXTback to summary
public static final int GL_STENCIL_ATTACHMENT_EXT

Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and GetFramebufferAttachmentParameterivEXT.

GL_STENCIL_INDEX16_EXTback to summary
public static final int GL_STENCIL_INDEX16_EXT

Accepted by the internalformat parameter of RenderbufferStorageEXT.

GL_STENCIL_INDEX1_EXTback to summary
public static final int GL_STENCIL_INDEX1_EXT

Accepted by the internalformat parameter of RenderbufferStorageEXT.

GL_STENCIL_INDEX4_EXTback to summary
public static final int GL_STENCIL_INDEX4_EXT

Accepted by the internalformat parameter of RenderbufferStorageEXT.

GL_STENCIL_INDEX8_EXTback to summary
public static final int GL_STENCIL_INDEX8_EXT

Accepted by the internalformat parameter of RenderbufferStorageEXT.

Constructor Detail

EXTFramebufferObjectback to summary
protected EXTFramebufferObject()

Method Detail

glBindFramebufferEXTback to summary
public static native void glBindFramebufferEXT(int target, int framebuffer)
glBindRenderbufferEXTback to summary
public static native void glBindRenderbufferEXT(int target, int renderbuffer)
glCheckFramebufferStatusEXTback to summary
public static native int glCheckFramebufferStatusEXT(int target)
Annotations
@NativeType:GLenum
glDeleteFramebuffersEXTback to summary
public static void glDeleteFramebuffersEXT(IntBuffer framebuffers)
glDeleteFramebuffersEXTback to summary
public static void glDeleteFramebuffersEXT(int framebuffer)
glDeleteFramebuffersEXTback to summary
public static void glDeleteFramebuffersEXT(int[] framebuffers)

Array version of: DeleteFramebuffersEXT

glDeleteRenderbuffersEXTback to summary
public static void glDeleteRenderbuffersEXT(IntBuffer renderbuffers)
glDeleteRenderbuffersEXTback to summary
public static void glDeleteRenderbuffersEXT(int renderbuffer)
glDeleteRenderbuffersEXTback to summary
public static void glDeleteRenderbuffersEXT(int[] renderbuffers)

Array version of: DeleteRenderbuffersEXT

glFramebufferRenderbufferEXTback to summary
public static native void glFramebufferRenderbufferEXT(int target, int attachment, int renderbuffertarget, int renderbuffer)
glFramebufferTexture1DEXTback to summary
public static native void glFramebufferTexture1DEXT(int target, int attachment, int textarget, int texture, int level)
glFramebufferTexture2DEXTback to summary
public static native void glFramebufferTexture2DEXT(int target, int attachment, int textarget, int texture, int level)
glFramebufferTexture3DEXTback to summary
public static native void glFramebufferTexture3DEXT(int target, int attachment, int textarget, int texture, int level, int zoffset)
glGenerateMipmapEXTback to summary
public static native void glGenerateMipmapEXT(int target)
glGenFramebuffersEXTback to summary
public static void glGenFramebuffersEXT(IntBuffer framebuffers)
glGenFramebuffersEXTback to summary
public static int glGenFramebuffersEXT()
Annotations
@NativeType:void
glGenFramebuffersEXTback to summary
public static void glGenFramebuffersEXT(int[] framebuffers)

Array version of: GenFramebuffersEXT

glGenRenderbuffersEXTback to summary
public static void glGenRenderbuffersEXT(IntBuffer renderbuffers)
glGenRenderbuffersEXTback to summary
public static int glGenRenderbuffersEXT()
Annotations
@NativeType:void
glGenRenderbuffersEXTback to summary
public static void glGenRenderbuffersEXT(int[] renderbuffers)

Array version of: GenRenderbuffersEXT

glGetFramebufferAttachmentParameteriEXTback to summary
public static int glGetFramebufferAttachmentParameteriEXT(int target, int attachment, int pname)
Annotations
@NativeType:void
glGetFramebufferAttachmentParameterivEXTback to summary
public static void glGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, IntBuffer params)
glGetFramebufferAttachmentParameterivEXTback to summary
public static void glGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, int[] params)

Array version of: GetFramebufferAttachmentParameterivEXT

glGetRenderbufferParameteriEXTback to summary
public static int glGetRenderbufferParameteriEXT(int target, int pname)
Annotations
@NativeType:void
glGetRenderbufferParameterivEXTback to summary
public static void glGetRenderbufferParameterivEXT(int target, int pname, IntBuffer params)
glGetRenderbufferParameterivEXTback to summary
public static void glGetRenderbufferParameterivEXT(int target, int pname, int[] params)

Array version of: GetRenderbufferParameterivEXT

glIsFramebufferEXTback to summary
public static native boolean glIsFramebufferEXT(int framebuffer)
Annotations
@NativeType:GLboolean
glIsRenderbufferEXTback to summary
public static native boolean glIsRenderbufferEXT(int renderbuffer)
Annotations
@NativeType:GLboolean
glRenderbufferStorageEXTback to summary
public static native void glRenderbufferStorageEXT(int target, int internalformat, int width, int height)
nglDeleteFramebuffersEXTback to summary
public static native void nglDeleteFramebuffersEXT(int n, long framebuffers)
nglDeleteRenderbuffersEXTback to summary
public static native void nglDeleteRenderbuffersEXT(int n, long renderbuffers)
nglGenFramebuffersEXTback to summary
public static native void nglGenFramebuffersEXT(int n, long framebuffers)
nglGenRenderbuffersEXTback to summary
public static native void nglGenRenderbuffersEXT(int n, long renderbuffers)
nglGetFramebufferAttachmentParameterivEXTback to summary
public static native void nglGetFramebufferAttachmentParameterivEXT(int target, int attachment, int pname, long params)
nglGetRenderbufferParameterivEXTback to summary
public static native void nglGetRenderbufferParameterivEXT(int target, int pname, long params)