com.threerings.opengl.renderer.config
Class TextureCoordGenConfig.EyeLinear

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

public static class TextureCoordGenConfig.EyeLinear
extends TextureCoordGenConfig.Linear

Generates coordinates using a linear function in eye space.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.renderer.config.TextureCoordGenConfig
TextureCoordGenConfig.EyeLinear, TextureCoordGenConfig.Linear, TextureCoordGenConfig.NormalMap, TextureCoordGenConfig.ObjectLinear, TextureCoordGenConfig.ReflectionMap, TextureCoordGenConfig.SphereMap
 
Field Summary
 
Fields inherited from class com.threerings.opengl.renderer.config.TextureCoordGenConfig.Linear
w, x, y, z
 
Constructor Summary
TextureCoordGenConfig.EyeLinear()
           
 
Method Summary
 int getModeAndPlane(Vector4f plane)
          Returns the OpenGL constant for the mode and populates the supplied object with the plane coefficients (if applicable).
 
Methods inherited from class com.threerings.opengl.renderer.config.TextureCoordGenConfig
isSupported
 
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
 

Constructor Detail

TextureCoordGenConfig.EyeLinear

public TextureCoordGenConfig.EyeLinear()
Method Detail

getModeAndPlane

public int getModeAndPlane(Vector4f plane)
Description copied from class: TextureCoordGenConfig
Returns the OpenGL constant for the mode and populates the supplied object with the plane coefficients (if applicable).

Specified by:
getModeAndPlane in class TextureCoordGenConfig


Copyright © 2011. All Rights Reserved.