|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.renderer.RenderContext
public class RenderContext
Represents the current state of the graphics library. This class is used internally to reduce state changes. NOTE: This class is specific to OpenGL.
Constructor Summary | |
---|---|
RenderContext()
|
Method Summary | |
---|---|
void |
reset()
Reset the RenderContext to default GL state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public RenderState.FaceCullMode cullMode
RenderState.setFaceCullMode(com.jme3.material.RenderState.FaceCullMode)
public boolean depthTestEnabled
RenderState.setDepthTest(boolean)
public boolean alphaTestEnabled
RenderState.setAlphaTest(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 boolean normalizeEnabled
VertexBuffer.setNormalized(boolean)
public int matrixMode
Renderer.setWorldMatrix(com.jme3.math.Matrix4f)
,
Renderer.setViewProjectionMatrices(com.jme3.math.Matrix4f, com.jme3.math.Matrix4f)
public float pointSize
Mesh.setPointSize(float)
public float lineWidth
Mesh.setLineWidth(float)
public RenderState.BlendMode blendMode
RenderState.setBlendMode(com.jme3.material.RenderState.BlendMode)
public boolean wireframe
RenderState.setWireframe(boolean)
public boolean pointSprite
RenderState.setPointSprite(boolean)
public int boundShaderProgram
Renderer.setShader(com.jme3.shader.Shader)
public int boundFBO
Renderer.setFrameBuffer(com.jme3.texture.FrameBuffer)
public int boundRB
Renderer.setFrameBuffer(com.jme3.texture.FrameBuffer)
public int boundDrawBuf
Renderer.setFrameBuffer(com.jme3.texture.FrameBuffer)
,
FrameBuffer.setTargetIndex(int)
public int boundReadBuf
boundDrawBuf
,
Renderer.setFrameBuffer(com.jme3.texture.FrameBuffer)
,
FrameBuffer.setTargetIndex(int)
public int boundElementArrayVBO
Renderer.renderMesh(com.jme3.scene.Mesh, int, int)
public int boundVertexArray
Renderer.renderMesh(com.jme3.scene.Mesh, int, int)
public int boundArrayVBO
Renderer.renderMesh(com.jme3.scene.Mesh, int, int)
public int numTexturesSet
public Image[] boundTextures
Renderer.setTexture(int, com.jme3.texture.Texture)
public IDList textureIndexList
Renderer.setTexture(int, com.jme3.texture.Texture)
public int boundTextureUnit
Renderer.setTexture(int, com.jme3.texture.Texture)
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 VertexBuffer[] boundAttribs
public IDList attribIndexList
public ColorRGBA ambient
public ColorRGBA diffuse
public ColorRGBA specular
public ColorRGBA color
public float shininess
public boolean useVertexColor
Constructor Detail |
---|
public RenderContext()
Method Detail |
---|
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |