GL20RenderBuffer

An OpenGL 2.0 implementation of {@link RenderBuffer} using EXT.

@see RenderBuffer

Constructors

this
this()

Constructs a new render buffer for OpenGL 2.0. If no EXT extension for render buffers is available, an exception is thrown.

Members

Functions

bind
void bind()
Undocumented in source. Be warned that the author may not have intended to support it.
create
void create()
Undocumented in source. Be warned that the author may not have intended to support it.
destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
getFormat
InternalFormat getFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
getGLVersion
gbaid.render.gl.GLVersion getGLVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
getHeight
uint getHeight()
Undocumented in source. Be warned that the author may not have intended to support it.
getWidth
uint getWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
setStorage
void setStorage(InternalFormat format, uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From RenderBuffer

id
uint id;
Undocumented in source.
destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
setStorage
void setStorage(InternalFormat format, uint width, uint height)

Sets the render buffer storage.

getFormat
InternalFormat getFormat()

Returns the render buffer format.

getWidth
uint getWidth()

Returns the render buffer width.

getHeight
uint getHeight()

Returns the render buffer height.

bind
void bind()

Binds the render buffer to the OpenGL context.

unbind
void unbind()

Unbinds the render buffer from the OpenGL context.

getID
uint getID()

Gets the ID for this render buffer as assigned by OpenGL.

Meta