com.threerings.opengl.renderer.config
Class ColorMaskStateConfig

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

public class ColorMaskStateConfig
extends DeepObject
implements Exportable

Configurable color mask state.


Field Summary
 boolean alpha
          Whether to write to the alpha channel.
 boolean blue
          Whether to write to the blue channel.
 boolean green
          Whether to write to the green channel.
 boolean red
          Whether to write to the red channel.
 boolean uniqueInstance
          If true, do not use a shared instance.
 
Constructor Summary
ColorMaskStateConfig()
           
 
Method Summary
 ColorMaskState getState()
          Returns the corresponding color mask 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

red

@Editable(hgroup="m")
public boolean red
Whether to write to the red channel.


green

@Editable(hgroup="m")
public boolean green
Whether to write to the green channel.


blue

@Editable(hgroup="m")
public boolean blue
Whether to write to the blue channel.


alpha

@Editable(hgroup="m")
public boolean alpha
Whether to write to the alpha channel.


uniqueInstance

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

Constructor Detail

ColorMaskStateConfig

public ColorMaskStateConfig()
Method Detail

getState

public ColorMaskState getState()
Returns the corresponding color mask state.



Copyright © 2011. All Rights Reserved.