com.threerings.opengl.material.config
Class MaterialRewriter.Projection

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.material.config.MaterialRewriter
          extended by com.threerings.opengl.material.config.MaterialRewriter.Projection
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
MaterialRewriter

public static class MaterialRewriter.Projection
extends MaterialRewriter

Creates projected versions of input techniques.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.material.config.MaterialRewriter
MaterialRewriter.DepthOnly, MaterialRewriter.Projection, MaterialRewriter.Translucent
 
Field Summary
 boolean q
          Whether or not to enable generation for each texture coordinate.
 boolean r
          Whether or not to enable generation for each texture coordinate.
 boolean s
          Whether or not to enable generation for each texture coordinate.
 boolean t
          Whether or not to enable generation for each texture coordinate.
 
Constructor Summary
MaterialRewriter.Projection()
           
 
Method Summary
protected  PassConfig rewrite(PassConfig pass)
          Rewrites the specified pass.
protected  TextureStateConfig rewrite(TextureStateConfig textureState)
          Rewrites the specified state.
protected  TextureUnitConfig rewrite(TextureUnitConfig textureUnit)
          Rewrites the specified texture unit.
 
Methods inherited from class com.threerings.opengl.material.config.MaterialRewriter
rewrite, rewrite, rewrite, rewrite, rewrite, rewrite
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

s

@Editable(hgroup="t")
public boolean s
Whether or not to enable generation for each texture coordinate.


t

@Editable(hgroup="t")
public boolean t
Whether or not to enable generation for each texture coordinate.


r

@Editable(hgroup="t")
public boolean r
Whether or not to enable generation for each texture coordinate.


q

@Editable(hgroup="t")
public boolean q
Whether or not to enable generation for each texture coordinate.

Constructor Detail

MaterialRewriter.Projection

public MaterialRewriter.Projection()
Method Detail

rewrite

protected PassConfig rewrite(PassConfig pass)
Description copied from class: MaterialRewriter
Rewrites the specified pass.

Overrides:
rewrite in class MaterialRewriter

rewrite

protected TextureStateConfig rewrite(TextureStateConfig textureState)
Description copied from class: MaterialRewriter
Rewrites the specified state.

Overrides:
rewrite in class MaterialRewriter

rewrite

protected TextureUnitConfig rewrite(TextureUnitConfig textureUnit)
Description copied from class: MaterialRewriter
Rewrites the specified texture unit.

Overrides:
rewrite in class MaterialRewriter