com.threerings.opengl.renderer.config
Class DepthStateConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.DepthStateConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable

public class DepthStateConfig
extends DeepObject
implements Exportable

Configurable depth state.


Nested Class Summary
static class DepthStateConfig.TestFunc
          Depth test function constants.
 
Field Summary
 boolean mask
          Whether or not to write to the depth buffer.
 DepthStateConfig.TestFunc testFunc
          The depth test function.
 boolean uniqueInstance
          If true, do not use a shared instance.
 
Constructor Summary
DepthStateConfig()
           
 
Method Summary
 DepthState getState()
          Returns the corresponding depth state.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

testFunc

@Editable(hgroup="d")
public DepthStateConfig.TestFunc testFunc
The depth test function.


mask

@Editable(hgroup="d")
public boolean mask
Whether or not to write to the depth buffer.


uniqueInstance

@Editable
public boolean uniqueInstance
If true, do not use a shared instance.

Constructor Detail

DepthStateConfig

public DepthStateConfig()
Method Detail

getState

public DepthState getState()
Returns the corresponding depth state.



Copyright © 2011. All Rights Reserved.