JournalGlFrameBufferBinding
final class JournalGlFrameBufferBinding
Implements: IGlFrameBufferBinding
Package: dev.joid.base.opengl.render.state · Module: base-opengl · Source: JournalGlFrameBufferBinding.java
Backends: LWJGL 2 LWJGL 3
A framebuffer binding that notes in a GlStateJournal the framebuffers and renderbuffers that JOID binds, before passing the call on.
Description
Section titled “Description”JournalGlBinding.getFrameBufferBinding returns it.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| JournalGlFrameBufferBinding(IGlFrameBufferBinding binding, GlStateJournal journal) | Wraps the framebuffer binding around the journal. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
int | genFramebuffer() | Calls the wrapped binding. |
void | deleteFramebuffer(int framebuffer) | Calls the wrapped binding. |
void | bindFramebuffer(int target, int framebuffer) | Notes the framebuffers bound to that target in the journal, then calls the wrapped binding. |
void | framebufferTexture2D(int target, int attachment, int textureTarget, int texture, int level) | Calls the wrapped binding. |
int | genRenderbuffer() | Calls the wrapped binding. |
void | deleteRenderbuffer(int renderbuffer) | Calls the wrapped binding. |
void | bindRenderbuffer(int target, int renderbuffer) | Notes the bound renderbuffer in the journal, then calls the wrapped binding. |
void | renderbufferStorage(int target, int internalFormat, int width, int height) | Calls the wrapped binding. |
void | framebufferRenderbuffer(int target, int attachment, int renderbufferTarget, int renderbuffer) | Calls the wrapped binding. |
void | blitFramebuffer(int sourceX0, int sourceY0, int sourceX1, int sourceY1, int targetX0, int targetY0, int targetX1, int targetY1, int mask, int filter) | Calls the wrapped binding. |
Creation details
Section titled “Creation details”JournalGlFrameBufferBinding
Section titled “JournalGlFrameBufferBinding”JournalGlFrameBufferBinding(IGlFrameBufferBinding binding, GlStateJournal journal)
Wraps the framebuffer binding around the journal.
Method details
Section titled “Method details”genFramebuffer
Section titled “genFramebuffer”int genFramebuffer()
Calls the wrapped binding.
deleteFramebuffer
Section titled “deleteFramebuffer”void deleteFramebuffer(int framebuffer)
Calls the wrapped binding.
bindFramebuffer
Section titled “bindFramebuffer”void bindFramebuffer(int target, int framebuffer)
Notes the framebuffers bound to that target in the journal, then calls the wrapped binding.
framebufferTexture2D
Section titled “framebufferTexture2D”void framebufferTexture2D(int target, int attachment, int textureTarget, int texture, int level)
Calls the wrapped binding.
genRenderbuffer
Section titled “genRenderbuffer”int genRenderbuffer()
Calls the wrapped binding.
deleteRenderbuffer
Section titled “deleteRenderbuffer”void deleteRenderbuffer(int renderbuffer)
Calls the wrapped binding.
bindRenderbuffer
Section titled “bindRenderbuffer”void bindRenderbuffer(int target, int renderbuffer)
Notes the bound renderbuffer in the journal, then calls the wrapped binding.
renderbufferStorage
Section titled “renderbufferStorage”void renderbufferStorage(int target, int internalFormat, int width, int height)
Calls the wrapped binding.
framebufferRenderbuffer
Section titled “framebufferRenderbuffer”void framebufferRenderbuffer(int target, int attachment, int renderbufferTarget, int renderbuffer)
Calls the wrapped binding.
blitFramebuffer
Section titled “blitFramebuffer”void blitFramebuffer(int sourceX0, int sourceY0, int sourceX1, int sourceY1, int targetX0, int targetY0, int targetX1, int targetY1, int mask, int filter)
Calls the wrapped binding.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
