Skip to content

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.

FrameBufferPool lends them to the core, and RenderState.frameBuffer(...) makes one the target.

ReturnsSignatureSummary
voiddelete() abstractReleases the framebuffer and its texture.
intgetWidth() abstractReturns the width, in pixels.
intgetHeight() abstractReturns the height, in pixels.
ITexturegetTexture() abstractReturns the color texture.

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.


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

Report a problem with this page