|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.scene.state.RenderState
com.jme.scene.state.StippleState
public abstract class StippleState
StippleState maintains a ByteBuffer containing the stipple mask
which is applied by glPolygonStipple(mask).
The ByteBuffer needs to be 1024 Bytes big (32x32).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jme.scene.state.RenderState |
|---|
RenderState.StateType |
| Field Summary |
|---|
| Fields inherited from class com.jme.scene.state.RenderState |
|---|
QUICK_COMPARE, RS_BLEND, RS_CLIP, RS_COLORMASK_STATE, RS_CULL, 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 | |
|---|---|
StippleState()
|
|
| Method Summary | |
|---|---|
java.lang.Class<?> |
getClassTag()
The peristed type for the object. |
RenderState.StateType |
getStateType()
getStateType returns RenderState.StateType.Stipple |
java.nio.ByteBuffer |
getStippleMask()
Returns the ByteBuffer containing the stipple mask. |
int |
getType()
Deprecated. |
void |
read(JMEImporter e)
|
void |
setStippleMask(java.nio.ByteBuffer stippleMask)
Sets the stipple mask to be used. The ByteBuffer needs to be 1024 byte big. |
void |
write(JMEExporter e)
|
| Methods inherited from class com.jme.scene.state.RenderState |
|---|
apply, createStateRecord, extract, isEnabled, needsRefresh, setEnabled, setNeedsRefresh, setQuickCompares |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StippleState()
| Method Detail |
|---|
public RenderState.StateType getStateType()
getStateType returns RenderState.StateType.Stipple
getStateType in class RenderStateRenderState.StateType.StippleRenderState.getStateType()@Deprecated public int getType()
RenderState
getType in class RenderStatepublic java.nio.ByteBuffer getStippleMask()
public void setStippleMask(java.nio.ByteBuffer stippleMask)
stippleMask - ByteBuffer containing the stipple mask.public java.lang.Class<?> getClassTag()
Savable
getClassTag in interface SavablegetClassTag in class RenderState
public void write(JMEExporter e)
throws java.io.IOException
write in interface Savablewrite in class RenderStatejava.io.IOException
public void read(JMEImporter e)
throws java.io.IOException
read in interface Savableread in class RenderStatejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||