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 p_i51175_1_,
int p_i51175_2_,
boolean p_i51175_3_,
boolean p_i51175_4_) |
Modifier and Type | Method and Description |
---|---|
void |
bindFramebuffer(boolean setViewportIn) |
private void |
bindFramebufferRaw(boolean setViewportIn) |
void |
bindFramebufferTexture() |
void |
checkFramebufferComplete() |
void |
createBuffers(int p_216492_1_,
int p_216492_2_,
boolean p_216492_3_) |
void |
deleteFramebuffer() |
void |
enableStencil()
Attempts to enable 8 bits of stencil buffer on this FrameBuffer.
|
void |
framebufferClear(boolean onMac) |
void |
framebufferRender(int width,
int height) |
void |
framebufferRenderExt(int width,
int height,
boolean p_178038_3_) |
private void |
framebufferRenderExtRaw(int width,
int height,
boolean p_227588_3_) |
boolean |
isStencilEnabled()
Returns wither or not this FBO has been successfully initialized with stencil bits.
|
void |
resize(int p_216491_1_,
int p_216491_2_,
boolean p_216491_3_) |
private void |
resizeRaw(int p_227586_1_,
int p_227586_2_,
boolean p_227586_3_) |
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 final boolean useDepth
public int framebufferObject
public int framebufferTexture
public int depthBuffer
public final float[] framebufferColor
public int framebufferFilter
private boolean stencilEnabled
public Framebuffer(int p_i51175_1_, int p_i51175_2_, boolean p_i51175_3_, boolean p_i51175_4_)
public void resize(int p_216491_1_, int p_216491_2_, boolean p_216491_3_)
private void resizeRaw(int p_227586_1_, int p_227586_2_, boolean p_227586_3_)
public void deleteFramebuffer()
public void createBuffers(int p_216492_1_, int p_216492_2_, boolean p_216492_3_)
public void setFramebufferFilter(int framebufferFilterIn)
public void checkFramebufferComplete()
public void bindFramebufferTexture()
public void unbindFramebufferTexture()
public void bindFramebuffer(boolean setViewportIn)
private void bindFramebufferRaw(boolean setViewportIn)
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_)
private void framebufferRenderExtRaw(int width, int height, boolean p_227588_3_)
public void framebufferClear(boolean onMac)
public void enableStencil()
public boolean isStencilEnabled()