public class Framebuffer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
depthBuffer |
float[] |
framebufferColor |
int |
framebufferFilter |
int |
framebufferHeight |
int |
framebufferObject |
int |
framebufferTexture |
int |
framebufferTextureHeight |
int |
framebufferTextureWidth |
int |
framebufferWidth |
private boolean |
stencilEnabled |
boolean |
useDepth |
Constructor and Description |
---|
Framebuffer(int width,
int height,
boolean useDepthIn) |
Modifier and Type | Method and Description |
---|---|
void |
bindFramebuffer(boolean p_147610_1_) |
void |
bindFramebufferTexture() |
void |
checkFramebufferComplete() |
void |
createBindFramebuffer(int width,
int height) |
void |
createFramebuffer(int width,
int height) |
void |
deleteFramebuffer() |
boolean |
enableStencil()
Attempts to enabled 8 bits of stencil buffer on this FrameBuffer.
|
void |
framebufferClear() |
void |
framebufferRender(int width,
int height) |
void |
framebufferRenderExt(int width,
int height,
boolean p_178038_3_) |
boolean |
isStencilEnabled()
Returns wither or not this FBO has been successfully initialized with stencil bits.
|
void |
setFramebufferColor(float red,
float green,
float blue,
float alpha) |
void |
setFramebufferFilter(int framebufferFilterIn) |
void |
unbindFramebuffer() |
void |
unbindFramebufferTexture() |
public int framebufferTextureWidth
public int framebufferTextureHeight
public int framebufferWidth
public int framebufferHeight
public boolean useDepth
public int framebufferObject
public int framebufferTexture
public int depthBuffer
public float[] framebufferColor
public int framebufferFilter
private boolean stencilEnabled
public void createBindFramebuffer(int width, int height)
public void deleteFramebuffer()
public void createFramebuffer(int width, int height)
public void setFramebufferFilter(int framebufferFilterIn)
public void checkFramebufferComplete()
public void bindFramebufferTexture()
public void unbindFramebufferTexture()
public void bindFramebuffer(boolean p_147610_1_)
public void unbindFramebuffer()
public void setFramebufferColor(float red, float green, float blue, float alpha)
public void framebufferRender(int width, int height)
public void framebufferRenderExt(int width, int height, boolean p_178038_3_)
public void framebufferClear()
public boolean enableStencil()
public boolean isStencilEnabled()