com.threerings.opengl.compositor
Class Dependency.StencilRefraction

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.StencilRefraction
Enclosing class:
Dependency

public static class Dependency.StencilRefraction
extends Dependency.Planar

A stencil refraction.


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.Planar
bounds, eyePlane, worldPlane
 
Constructor Summary
Dependency.StencilRefraction(GlContext ctx)
          Creates a new stencil refraction dependency.
 
Method Summary
 boolean equals(Object other)
           
 
Methods inherited from class com.threerings.opengl.compositor.Dependency.Planar
hashCode, merge
 
Methods inherited from class com.threerings.opengl.compositor.Dependency
cleanup, resolve
 
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.StencilRefraction

public Dependency.StencilRefraction(GlContext ctx)
Creates a new stencil refraction dependency.

Method Detail

equals

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


Copyright © 2011. All Rights Reserved.