com.threerings.opengl.compositor.config
Class StepConfig.RenderQuad

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.compositor.config.StepConfig
          extended by com.threerings.opengl.compositor.config.StepConfig.RenderQuad
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
StepConfig

public static class StepConfig.RenderQuad
extends StepConfig

Renders a full-screen quad.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.compositor.config.StepConfig
StepConfig.Clear, StepConfig.RenderQuad, StepConfig.RenderQueues
 
Field Summary
 int divisionsX
          The level of tesselation in the x direction.
 int divisionsY
          The level of tesselation in the y direction.
 ConfigReference<MaterialConfig> material
          The material to use when rendering the quad.
 
Constructor Summary
StepConfig.RenderQuad()
           
 
Method Summary
 Executor createExecutor(GlContext ctx, Scope scope)
          Creates the executor that will actually perform the step.
 boolean isSupported(GlContext ctx, boolean fallback)
          Determines whether this step config is supported by the hardware.
 
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
 

Field Detail

material

@Editable(nullable=true)
public ConfigReference<MaterialConfig> material
The material to use when rendering the quad.


divisionsX

@Editable(min=1.0,
          hgroup="d")
public int divisionsX
The level of tesselation in the x direction.


divisionsY

@Editable(min=1.0,
          hgroup="d")
public int divisionsY
The level of tesselation in the y direction.

Constructor Detail

StepConfig.RenderQuad

public StepConfig.RenderQuad()
Method Detail

isSupported

public boolean isSupported(GlContext ctx,
                           boolean fallback)
Description copied from class: StepConfig
Determines whether this step config is supported by the hardware.

Overrides:
isSupported in class StepConfig

createExecutor

public Executor createExecutor(GlContext ctx,
                               Scope scope)
Description copied from class: StepConfig
Creates the executor that will actually perform the step.

Specified by:
createExecutor in class StepConfig


Copyright © 2011. All Rights Reserved.