public interface JCGLFramebuffersType
| Modifier and Type | Method and Description |
|---|---|
JCGLFramebufferType |
framebufferAllocate(JCGLFramebufferBuilderType b)
Allocate and bind a framebuffer object based on the values given in
b. |
void |
framebufferBlit(com.io7m.jregions.core.unparameterized.areas.AreaL source,
com.io7m.jregions.core.unparameterized.areas.AreaL target,
Set<JCGLFramebufferBlitBuffer> buffers,
JCGLFramebufferBlitFilter filter)
Copy a region of the current read framebuffer to the current
draw framebuffer.
|
void |
framebufferDelete(JCGLFramebufferType f)
Delete the given framebuffer.
|
boolean |
framebufferDrawAnyIsBound() |
void |
framebufferDrawBind(JCGLFramebufferUsableType framebuffer)
Bind the given framebuffer
framebuffer to the draw target. |
Optional<JCGLFramebufferUsableType> |
framebufferDrawGetBound() |
boolean |
framebufferDrawIsBound(JCGLFramebufferUsableType framebuffer) |
void |
framebufferDrawUnbind()
Unbind the current framebuffer from the draw target.
|
JCGLFramebufferStatus |
framebufferDrawValidate()
Determine the validity of the currently bound draw
framebuffer.
|
List<JCGLFramebufferColorAttachmentPointType> |
framebufferGetColorAttachments() |
List<JCGLFramebufferDrawBufferType> |
framebufferGetDrawBuffers() |
JCGLFramebufferBuilderType |
framebufferNewBuilder()
Retrieve a new framebuffer object builder.
|
boolean |
framebufferReadAnyIsBound() |
void |
framebufferReadBind(JCGLFramebufferUsableType framebuffer)
Bind the given framebuffer
framebuffer to the read target. |
Optional<JCGLFramebufferUsableType> |
framebufferReadGetBound() |
boolean |
framebufferReadIsBound(JCGLFramebufferUsableType framebuffer) |
void |
framebufferReadUnbind()
Unbind the current framebuffer from the read target.
|
JCGLFramebufferStatus |
framebufferReadValidate()
Determine the validity of the currently bound read
framebuffer.
|
JCGLFramebufferBuilderType framebufferNewBuilder() throws JCGLException
JCGLContextType upon which it was
created.JCGLException - On OpenGL errorsJCGLFramebufferType framebufferAllocate(JCGLFramebufferBuilderType b) throws JCGLException
Allocate and bind a framebuffer object based on the values given in
b.
Calling this method will unbind any currently bound draw framebuffer. The resulting framebuffer, if any, will remain bound when the method returns.
b - The framebuffer object builderJCGLException - On OpenGL errorsvoid framebufferDelete(JCGLFramebufferType f) throws JCGLException
f - The framebufferJCGLException - On OpenGL errorsboolean framebufferDrawAnyIsBound()
throws JCGLException
true iff any application-created draw framebuffer is
currently bound.JCGLException - Iff an OpenGL exception occurs.void framebufferDrawBind(JCGLFramebufferUsableType framebuffer) throws JCGLException
framebuffer to the draw target.framebuffer - The framebuffer.JCGLException - Iff an OpenGL exception occurs.Optional<JCGLFramebufferUsableType> framebufferDrawGetBound() throws JCGLException
Some(framebuffer) iff any application-created draw
framebuffer is currently bound.JCGLException - Iff an OpenGL exception occurs.boolean framebufferDrawIsBound(JCGLFramebufferUsableType framebuffer) throws JCGLException
framebuffer - The framebuffer.true iff framebuffer is currently bound to the
draw target.JCGLException - Iff an OpenGL exception occurs.void framebufferDrawUnbind()
throws JCGLException
Unbind the current framebuffer from the draw target.
JCGLException - Iff an OpenGL exception occurs.JCGLFramebufferStatus framebufferDrawValidate() throws JCGLException
Determine the validity of the currently bound draw framebuffer.
JCGLException - Iff an OpenGL exception occurs.List<JCGLFramebufferDrawBufferType> framebufferGetDrawBuffers() throws JCGLException
JCGLException - Iff an OpenGL exception occurs.List<JCGLFramebufferColorAttachmentPointType> framebufferGetColorAttachments() throws JCGLException
JCGLException - Iff an OpenGL exception occurs.boolean framebufferReadAnyIsBound()
throws JCGLException
true iff any application-created read framebuffer is
currently bound.JCGLException - Iff an OpenGL exception occurs.void framebufferReadBind(JCGLFramebufferUsableType framebuffer) throws JCGLException
framebuffer to the read target.framebuffer - The framebuffer.JCGLException - Iff an OpenGL exception occurs.Optional<JCGLFramebufferUsableType> framebufferReadGetBound() throws JCGLException
Some(framebuffer) iff any application-created read
framebuffer is currently bound.JCGLException - Iff an OpenGL exception occurs.JCGLFramebufferStatus framebufferReadValidate() throws JCGLException
Determine the validity of the currently bound read framebuffer.
JCGLException - Iff an OpenGL exception occurs.boolean framebufferReadIsBound(JCGLFramebufferUsableType framebuffer) throws JCGLException
framebuffer - The framebuffer.true iff framebuffer is currently bound to the
read target.JCGLException - Iff an OpenGL exception occurs.void framebufferReadUnbind()
throws JCGLException
Unbind the current framebuffer from the read target.
JCGLException - Iff an OpenGL exception occurs.void framebufferBlit(com.io7m.jregions.core.unparameterized.areas.AreaL source,
com.io7m.jregions.core.unparameterized.areas.AreaL target,
Set<JCGLFramebufferBlitBuffer> buffers,
JCGLFramebufferBlitFilter filter)
throws JCGLException
source - The area of the read framebuffer from which to copy.target - The area of the draw framebuffer to which to copy.buffers - The set of buffers that should be copied.filter - The filter used when stretching (if source !=
target).JCGLException - Iff an OpenGL exception occurs.Copyright © 2017 <code@io7m.com> http://io7m.com