com.threerings.opengl.renderer.config
Class ShaderStateConfig.Disabled
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ShaderStateConfig
com.threerings.opengl.renderer.config.ShaderStateConfig.Disabled
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ShaderStateConfig
public static class ShaderStateConfig.Disabled
- extends ShaderStateConfig
Disables the shader.
ShaderStateConfig.Disabled
public ShaderStateConfig.Disabled()
isSupported
public boolean isSupported(GlContext ctx,
boolean fallback)
- Description copied from class:
ShaderStateConfig
- Determines whether this state is supported by the hardware.
- Specified by:
isSupported in class ShaderStateConfig
getState
public ShaderState getState(GlContext ctx,
Scope scope,
RenderState[] states,
List<Updater> updaters)
- Description copied from class:
ShaderStateConfig
- Returns the corresponding shader state.
- Specified by:
getState in class ShaderStateConfig
Copyright © 2011. All Rights Reserved.