com.threerings.opengl.compositor
Class Dependency.RefractionTexture
java.lang.Object
com.threerings.opengl.compositor.Dependency
com.threerings.opengl.compositor.Dependency.Planar
com.threerings.opengl.compositor.Dependency.PlanarTexture
com.threerings.opengl.compositor.Dependency.RefractionTexture
- Enclosing class:
- Dependency
public static class Dependency.RefractionTexture
- extends Dependency.PlanarTexture
A planar refraction texture.
| 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). |
ratio
public float ratio
- The refraction ratio (index of refraction below the surface over index of refraction
above the surface).
Dependency.RefractionTexture
public Dependency.RefractionTexture(GlContext ctx)
- Creates a new refraction texture dependency.
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.