public class RenderContext
extends java.lang.Object
Constructor and Description |
---|
RenderContext() |
Modifier and Type | Method and Description |
---|---|
void |
reset()
Reset the RenderContext to default GL state
|
public RenderState.FaceCullMode cullMode
public boolean depthTestEnabled
RenderState.setDepthTest(boolean)
public boolean depthWriteEnabled
RenderState.setDepthWrite(boolean)
public boolean colorWriteEnabled
RenderState.setColorWrite(boolean)
public boolean clipRectEnabled
Renderer.setClipRect(int, int, int, int)
public boolean polyOffsetEnabled
RenderState.setPolyOffset(float, float)
public float polyOffsetFactor
RenderState.setPolyOffset(float, float)
public float polyOffsetUnits
RenderState.setPolyOffset(float, float)
public float pointSize
Mesh.setPointSize(float)
public float lineWidth
RenderState.setLineWidth(float)
public RenderState.BlendMode blendMode
public RenderState.BlendEquation blendEquation
public RenderState.BlendEquationAlpha blendEquationAlpha
public RenderState.BlendFunc sfactorRGB
public RenderState.BlendFunc dfactorRGB
public RenderState.BlendFunc sfactorAlpha
public RenderState.BlendFunc dfactorAlpha
public boolean wireframe
RenderState.setWireframe(boolean)
public int boundShaderProgram
public Shader boundShader
public int boundFBO
public FrameBuffer boundFB
public int boundRB
public int boundDrawBuf
public int boundReadBuf
public int boundElementArrayVBO
public int boundVertexArray
public int boundArrayVBO
public int boundPixelPackPBO
public int numTexturesSet
public final java.lang.ref.WeakReference<Image>[] boundTextures
public final IDList textureIndexList
public int boundTextureUnit
public boolean stencilTest
public RenderState.StencilOperation frontStencilStencilFailOperation
public RenderState.StencilOperation frontStencilDepthFailOperation
public RenderState.StencilOperation frontStencilDepthPassOperation
public RenderState.StencilOperation backStencilStencilFailOperation
public RenderState.StencilOperation backStencilDepthFailOperation
public RenderState.StencilOperation backStencilDepthPassOperation
public RenderState.TestFunction frontStencilFunction
public RenderState.TestFunction backStencilFunction
public final java.lang.ref.WeakReference<VertexBuffer>[] boundAttribs
public final IDList attribIndexList
public RenderState.TestFunction depthFunc
public RenderState.TestFunction alphaFunc
public int initialDrawBuf
public int initialReadBuf
public ColorRGBA clearColor