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 |
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 p_147610_1_) |
void |
bindFramebufferTexture() |
void |
checkFramebufferComplete() |
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_) |
void |
func_216491_a(int p_216491_1_,
int p_216491_2_,
boolean p_216491_3_) |
void |
func_216492_b(int p_216492_1_,
int p_216492_2_,
boolean p_216492_3_) |
boolean |
isStencilEnabled()
Returns whether or not this FBO has been successfully initialised 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 final boolean useDepth
public int framebufferObject
public int framebufferTexture
public int depthBuffer
public final float[] framebufferColor
public int framebufferFilter
public Framebuffer(int p_i51175_1_, int p_i51175_2_, boolean p_i51175_3_, boolean p_i51175_4_)
public void func_216491_a(int p_216491_1_, int p_216491_2_, boolean p_216491_3_)
public void deleteFramebuffer()
public void func_216492_b(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 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(boolean onMac)
public void enableStencil()
public boolean isStencilEnabled()