com.jme.scene.state.lwjgl
Class LWJGLWireframeState

java.lang.Object
  extended bycom.jme.scene.state.RenderState
      extended bycom.jme.scene.state.WireframeState
          extended bycom.jme.scene.state.lwjgl.LWJGLWireframeState
All Implemented Interfaces:
java.io.Serializable

public class LWJGLWireframeState
extends WireframeState

LWJGLWireframeState subclasses WireframeState to use the LWJGL API to access OpenGL. If the state is enabled, wireframe mode is used, otherwise solid fill is used.

Version:
$Id: LWJGLWireframeState.java,v 1.5 2004/09/14 21:52:14 mojomonkey Exp $
Author:
Mark Powell
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jme.scene.state.WireframeState
face, lineWidth, WS_BACK, WS_FRONT, WS_FRONT_AND_BACK
 
Fields inherited from class com.jme.scene.state.RenderState
RS_ALPHA, RS_ATTRIBUTE, RS_CULL, RS_DITHER, RS_FOG, RS_FRAGMENT_PROGRAM, RS_GLSL_SHADER_OBJECTS, RS_LIGHT, RS_MATERIAL, RS_MAX_STATE, RS_SHADE, RS_STENCIL, RS_TEXTURE, RS_VERTEX_PROGRAM, RS_WIREFRAME, RS_ZBUFFER
 
Constructor Summary
LWJGLWireframeState()
           
 
Method Summary
 void apply()
          set sets the polygon mode to line or fill depending on if the state is enabled or not.
 
Methods inherited from class com.jme.scene.state.WireframeState
getFace, getLineWidth, getType, setFace, setLineWidth
 
Methods inherited from class com.jme.scene.state.RenderState
extract, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LWJGLWireframeState

public LWJGLWireframeState()
Method Detail

apply

public void apply()
set sets the polygon mode to line or fill depending on if the state is enabled or not.

Specified by:
apply in class RenderState
See Also:
RenderState.apply()