com.threerings.opengl.compositor
Class Dependency.RefractionTexture

java.lang.Object
  extended by com.threerings.opengl.compositor.Dependency
      extended by com.threerings.opengl.compositor.Dependency.Planar
          extended by com.threerings.opengl.compositor.Dependency.PlanarTexture
              extended by com.threerings.opengl.compositor.Dependency.RefractionTexture
Enclosing class:
Dependency

public static class Dependency.RefractionTexture
extends Dependency.PlanarTexture

A planar refraction texture.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.compositor.Dependency
Dependency.Adder, Dependency.CubeTexture, Dependency.Planar, Dependency.PlanarTexture, Dependency.ReflectionTexture, Dependency.RefractionTexture, Dependency.RenderEffect, Dependency.Shadows, Dependency.ShadowTexture, Dependency.ShadowVolumes, Dependency.StencilReflection, Dependency.StencilRefraction
 
Field Summary
 float ratio
          The refraction ratio (index of refraction below the surface over index of refraction above the surface).
 
Fields inherited from class com.threerings.opengl.compositor.Dependency.PlanarTexture
config, texture
 
Fields inherited from class com.threerings.opengl.compositor.Dependency.Planar
bounds, eyePlane, worldPlane
 
Constructor Summary
Dependency.RefractionTexture(GlContext ctx)
          Creates a new refraction texture dependency.
 
Method Summary
 boolean equals(Object other)
           
 void resolve()
          Resolves this dependency.
 
Methods inherited from class com.threerings.opengl.compositor.Dependency.PlanarTexture
cleanup, merge
 
Methods inherited from class com.threerings.opengl.compositor.Dependency.Planar
hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ratio

public float ratio
The refraction ratio (index of refraction below the surface over index of refraction above the surface).

Constructor Detail

Dependency.RefractionTexture

public Dependency.RefractionTexture(GlContext ctx)
Creates a new refraction texture dependency.

Method Detail

resolve

public void resolve()
Description copied from class: Dependency
Resolves this dependency.

Overrides:
resolve in class Dependency

equals

public boolean equals(Object other)
Overrides:
equals in class Dependency.Planar


Copyright © 2011. All Rights Reserved.