com.threerings.opengl.compositor
Class Dependency.Planar

java.lang.Object
  extended by com.threerings.opengl.compositor.Dependency
      extended by com.threerings.opengl.compositor.Dependency.Planar
Direct Known Subclasses:
Dependency.PlanarTexture, Dependency.StencilReflection, Dependency.StencilRefraction
Enclosing class:
Dependency

public abstract static class Dependency.Planar
extends Dependency

The base class of the various planar reflection/refraction dependencies.


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
 Box bounds
          The bounds of the affected region.
 Plane eyePlane
          The eye space plane.
 Plane worldPlane
          The world space plane of reflection or refraction.
 
Constructor Summary
Dependency.Planar(GlContext ctx)
          Creates a new planar dependency.
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 void merge(Dependency dependency)
          Merges another dependency (for which Object.equals(java.lang.Object) returns true) into this one.
 
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

worldPlane

public Plane worldPlane
The world space plane of reflection or refraction.


eyePlane

public Plane eyePlane
The eye space plane.


bounds

public Box bounds
The bounds of the affected region.

Constructor Detail

Dependency.Planar

public Dependency.Planar(GlContext ctx)
Creates a new planar dependency.

Method Detail

merge

public void merge(Dependency dependency)
Description copied from class: Dependency
Merges another dependency (for which Object.equals(java.lang.Object) returns true) into this one.

Overrides:
merge in class Dependency

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.