com.threerings.opengl.renderer.config
Class AlphaStateConfig

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

public class AlphaStateConfig
extends DeepObject
implements Exportable

Configurable alpha state.


Nested Class Summary
static class AlphaStateConfig.DestBlendFactor
          Dest blend factor constants.
static class AlphaStateConfig.SourceBlendFactor
          Source blend factor constants.
static class AlphaStateConfig.TestFunc
          Test functions.
 
Field Summary
 AlphaStateConfig.DestBlendFactor destBlendFactor
          The dest blend factor.
 AlphaStateConfig.SourceBlendFactor srcBlendFactor
          The source blend factor.
 AlphaStateConfig.TestFunc testFunc
          The alpha test function.
 float testRef
          The alpha test reference value.
 boolean uniqueInstance
          If true, do not use a shared instance.
 
Constructor Summary
AlphaStateConfig()
           
 
Method Summary
 AlphaState getState()
          Returns the corresponding alpha 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="t")
public AlphaStateConfig.TestFunc testFunc
The alpha test function.


testRef

@Editable(min=0.0,
          max=1.0,
          step=0.01,
          hgroup="t")
public float testRef
The alpha test reference value.


srcBlendFactor

@Editable(hgroup="b")
public AlphaStateConfig.SourceBlendFactor srcBlendFactor
The source blend factor.


destBlendFactor

@Editable(hgroup="b")
public AlphaStateConfig.DestBlendFactor destBlendFactor
The dest blend factor.


uniqueInstance

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

Constructor Detail

AlphaStateConfig

public AlphaStateConfig()
Method Detail

getState

public AlphaState getState()
Returns the corresponding alpha state.



Copyright © 2011. All Rights Reserved.