com.threerings.opengl.renderer.config
Class ShaderStateConfig.Disabled

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.ShaderStateConfig
          extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.renderer.config.ShaderStateConfig
ShaderStateConfig.Disabled, ShaderStateConfig.Enabled
 
Constructor Summary
ShaderStateConfig.Disabled()
           
 
Method Summary
 ShaderState getState(GlContext ctx, Scope scope, RenderState[] states, List<Updater> updaters)
          Returns the corresponding shader state.
 boolean isSupported(GlContext ctx, boolean fallback)
          Determines whether this state is supported by the hardware.
 
Methods inherited from class com.threerings.opengl.renderer.config.ShaderStateConfig
getUpdateReferences, populateDescriptor
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShaderStateConfig.Disabled

public ShaderStateConfig.Disabled()
Method Detail

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.