Package WildMagic.LibGraphics.Rendering
Class GlobalState
- java.lang.Object
-
- WildMagic.LibGraphics.ObjectSystem.GraphicsObject
-
- WildMagic.LibGraphics.Rendering.GlobalState
-
- All Implemented Interfaces:
java.io.Serializable
,StreamInterface
- Direct Known Subclasses:
AlphaState
,CullState
,MaterialState
,PolygonOffsetState
,StencilState
,WireframeState
,ZBufferState
public abstract class GlobalState extends GraphicsObject implements StreamInterface, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GlobalState.StateType
supported global states
-
Field Summary
Fields Modifier and Type Field Description static GlobalState[]
Default
default statesstatic boolean[]
DefaultInitialized
default states initializedprivate static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description GlobalState()
Default constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract GlobalState.StateType
GetStateType()
Return the type of state.StringTree
SaveStrings(java.lang.String acTitle)
Write this object into a StringTree for the scene-graph visualization.-
Methods inherited from class WildMagic.LibGraphics.ObjectSystem.GraphicsObject
dispose, GetAllObjectsByName, GetDiskUsed, GetID, GetName, GetNextID, GetObjectByID, GetObjectByIDBase, GetObjectByName, GetObjectByNameBase, Link, Load, Register, Save, SetName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface WildMagic.LibGraphics.ObjectSystem.StreamInterface
GetDiskUsed, Link, Load, Register, Save
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
Default
public static GlobalState[] Default
default states
-
DefaultInitialized
public static boolean[] DefaultInitialized
default states initialized
-
-
Method Detail
-
GetStateType
public abstract GlobalState.StateType GetStateType()
Return the type of state.- Returns:
- the type of state.
-
SaveStrings
public StringTree SaveStrings(java.lang.String acTitle)
Write this object into a StringTree for the scene-graph visualization.- Specified by:
SaveStrings
in interfaceStreamInterface
- Overrides:
SaveStrings
in classGraphicsObject
- Parameters:
acTitle
- the header for this object in the StringTree.- Returns:
- StringTree containing a String-based representation of this object and it's children.
-
-