com.threerings.opengl.renderer.config
Class TextureEnvironmentConfig.Combine

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

public static class TextureEnvironmentConfig.Combine
extends TextureEnvironmentConfig

The combine environment mode.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.renderer.config.TextureEnvironmentConfig
TextureEnvironmentConfig.Add, TextureEnvironmentConfig.AlphaCombine, TextureEnvironmentConfig.AlphaOperand, TextureEnvironmentConfig.AlphaParam, TextureEnvironmentConfig.Blend, TextureEnvironmentConfig.Combine, TextureEnvironmentConfig.Decal, TextureEnvironmentConfig.Modulate, TextureEnvironmentConfig.Replace, TextureEnvironmentConfig.RGBCombine, TextureEnvironmentConfig.RGBOperand, TextureEnvironmentConfig.RGBParam, TextureEnvironmentConfig.Scale, TextureEnvironmentConfig.Source
 
Field Summary
 TextureEnvironmentConfig.AlphaCombine alphaCombine
          The alpha combine mode.
 TextureEnvironmentConfig.AlphaParam alphaParam0
          The first alpha parameter.
 TextureEnvironmentConfig.AlphaParam alphaParam1
          The first alpha parameter.
 TextureEnvironmentConfig.AlphaParam alphaParam2
          The first alpha parameter.
 TextureEnvironmentConfig.Scale alphaScale
          The alpha combine scale.
 TextureEnvironmentConfig.RGBCombine rgbCombine
          The RGB combine mode.
 TextureEnvironmentConfig.RGBParam rgbParam0
          The first RGB parameter.
 TextureEnvironmentConfig.RGBParam rgbParam1
          The second RGB parameter.
 TextureEnvironmentConfig.RGBParam rgbParam2
          The third RGB parameter.
 TextureEnvironmentConfig.Scale rgbScale
          The RGB combine scale.
 
Fields inherited from class com.threerings.opengl.renderer.config.TextureEnvironmentConfig
color, lodBias
 
Constructor Summary
TextureEnvironmentConfig.Combine()
           
 
Method Summary
 void configure(TextureUnit unit)
          Configures the supplied texture unit with this environment's parameters.
 int getMode()
          Returns the OpenGL constant for the mode.
 boolean isSupported(boolean fallback)
          Checks whether the mode is supported.
 
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

rgbCombine

@Editable(category="rgb")
public TextureEnvironmentConfig.RGBCombine rgbCombine
The RGB combine mode.


rgbParam0

@Editable(category="rgb")
public TextureEnvironmentConfig.RGBParam rgbParam0
The first RGB parameter.


rgbParam1

@Editable(category="rgb")
public TextureEnvironmentConfig.RGBParam rgbParam1
The second RGB parameter.


rgbParam2

@Editable(category="rgb")
public TextureEnvironmentConfig.RGBParam rgbParam2
The third RGB parameter.


rgbScale

@Editable(category="rgb")
public TextureEnvironmentConfig.Scale rgbScale
The RGB combine scale.


alphaCombine

@Editable(category="alpha")
public TextureEnvironmentConfig.AlphaCombine alphaCombine
The alpha combine mode.


alphaParam0

@Editable(category="alpha")
public TextureEnvironmentConfig.AlphaParam alphaParam0
The first alpha parameter.


alphaParam1

@Editable(category="alpha")
public TextureEnvironmentConfig.AlphaParam alphaParam1
The first alpha parameter.


alphaParam2

@Editable(category="alpha")
public TextureEnvironmentConfig.AlphaParam alphaParam2
The first alpha parameter.


alphaScale

@Editable(category="alpha")
public TextureEnvironmentConfig.Scale alphaScale
The alpha combine scale.

Constructor Detail

TextureEnvironmentConfig.Combine

public TextureEnvironmentConfig.Combine()
Method Detail

isSupported

public boolean isSupported(boolean fallback)
Description copied from class: TextureEnvironmentConfig
Checks whether the mode is supported.

Overrides:
isSupported in class TextureEnvironmentConfig

configure

public void configure(TextureUnit unit)
Description copied from class: TextureEnvironmentConfig
Configures the supplied texture unit with this environment's parameters.

Overrides:
configure in class TextureEnvironmentConfig

getMode

public int getMode()
Description copied from class: TextureEnvironmentConfig
Returns the OpenGL constant for the mode.

Specified by:
getMode in class TextureEnvironmentConfig


Copyright © 2011. All Rights Reserved.