com.threerings.opengl.compositor
Class Dependency.ShadowTexture

java.lang.Object
  extended by com.threerings.opengl.compositor.Dependency
      extended by com.threerings.opengl.compositor.Dependency.Shadows
          extended by com.threerings.opengl.compositor.Dependency.ShadowTexture
Enclosing class:
Dependency

public static class Dependency.ShadowTexture
extends Dependency.Shadows

A shadow depth 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
 TextureConfig config
          The config from whose pool the texture was created.
 Texture texture
          The shadow texture.
 
Fields inherited from class com.threerings.opengl.compositor.Dependency.Shadows
light
 
Constructor Summary
Dependency.ShadowTexture(GlContext ctx)
          Creates a new shadow 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.Shadows
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 shadow texture.


config

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

Constructor Detail

Dependency.ShadowTexture

public Dependency.ShadowTexture(GlContext ctx)
Creates a new shadow 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

cleanup

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

Overrides:
cleanup in class Dependency


Copyright © 2011. All Rights Reserved.