IFrameBuffer
interface IFrameBuffer
Known subtypes: FrameBufferHandle
Package: dev.joid.lib.bridge.render.framebuffer · Module: core · Source: IFrameBuffer.java
An offscreen target of the render bridge, with a color texture and a depth buffer.
Description
Section titled “Description”FrameBufferPool lends them to the core, and RenderState.frameBuffer(...) makes one the target.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | delete() abstract | Releases the framebuffer and its texture. |
int | getWidth() abstract | Returns the width, in pixels. |
int | getHeight() abstract | Returns the height, in pixels. |
ITexture | getTexture() abstract | Returns the color texture. |
Method details
Section titled “Method details”delete
Section titled “delete”void delete() abstract
Releases the framebuffer and its texture.
getWidth
Section titled “getWidth”int getWidth() abstract
Returns the width, in pixels.
getHeight
Section titled “getHeight”int getHeight() abstract
Returns the height, in pixels.
getTexture
Section titled “getTexture”ITexture getTexture() abstract
Returns the color texture.
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
