com.threerings.opengl.material.config
Class TechniqueConfig.StencilRefractionDependency
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.material.config.TechniqueConfig.TechniqueDependency
com.threerings.opengl.material.config.TechniqueConfig.StencilRefractionDependency
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- TechniqueConfig
public static class TechniqueConfig.StencilRefractionDependency
- extends TechniqueConfig.TechniqueDependency
A dependency on a stencil refraction.
|
Field Summary |
float |
ratio
The refraction ratio (index of refraction below the surface over index of refraction
above the surface). |
ratio
@Editable(step=0.01)
public float ratio
- The refraction ratio (index of refraction below the surface over index of refraction
above the surface).
TechniqueConfig.StencilRefractionDependency
public TechniqueConfig.StencilRefractionDependency()
isSupported
public boolean isSupported(GlContext ctx,
boolean fallback)
- Description copied from class:
TechniqueConfig.TechniqueDependency
- Determines whether the dependency is supported.
- Overrides:
isSupported in class TechniqueConfig.TechniqueDependency
createAdder
public Dependency.Adder createAdder(GlContext ctx,
Scope scope)
- Description copied from class:
TechniqueConfig.TechniqueDependency
- Creates the adder for this dependency.
- Specified by:
createAdder in class TechniqueConfig.TechniqueDependency
Copyright © 2011. All Rights Reserved.