com.threerings.opengl.compositor
Class Dependency.PlanarTexture

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
Direct Known Subclasses:
Dependency.ReflectionTexture, Dependency.RefractionTexture
Enclosing class:
Dependency

public abstract static class Dependency.PlanarTexture
extends Dependency.Planar

The base class for planar reflection/refraction textures.


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
 TextureConfig config
          The config from whose pool the texture was created.
 Texture texture
          The texture to which we render.
 
Fields inherited from class com.threerings.opengl.compositor.Dependency.Planar
bounds, eyePlane, worldPlane
 
Constructor Summary
Dependency.PlanarTexture(GlContext ctx)
          Creates a new planar texture dependency.
 
Method Summary
 void cleanup()
          Performs any necessary cleanup.
 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.Planar
equals, hashCode
 
Methods inherited from class com.threerings.opengl.compositor.Dependency
resolve
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

texture

public Texture texture
The texture to which we render.


config

public TextureConfig config
The config from whose pool the texture was created.

Constructor Detail

Dependency.PlanarTexture

public Dependency.PlanarTexture(GlContext ctx)
Creates a new planar texture 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.Planar

cleanup

public void cleanup()
Description copied from class: Dependency
Performs any necessary cleanup.

Overrides:
cleanup in class Dependency


Copyright © 2011. All Rights Reserved.