com.threerings.opengl.material.config
Class MaterialRewriter

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.material.config.MaterialRewriter
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
MaterialRewriter.DepthOnly, MaterialRewriter.Projection, MaterialRewriter.Translucent

@EditorTypes(value={MaterialRewriter.DepthOnly.class,MaterialRewriter.Translucent.class,MaterialRewriter.Projection.class})
public abstract class MaterialRewriter
extends DeepObject
implements Exportable

Used to transform material techniques.


Nested Class Summary
static class MaterialRewriter.DepthOnly
          Creates depth-only versions of input techniques (for shadow maps, e.g.)
static class MaterialRewriter.Projection
          Creates projected versions of input techniques.
static class MaterialRewriter.Translucent
          Creates translucent versions of input techniques.
 
Constructor Summary
MaterialRewriter()
           
 
Method Summary
 TechniqueConfig rewrite(TechniqueConfig technique)
          Returns a new technique that is the rewritten version of the technique supplied.
 
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

MaterialRewriter

public MaterialRewriter()
Method Detail

rewrite

public TechniqueConfig rewrite(TechniqueConfig technique)
Returns a new technique that is the rewritten version of the technique supplied.



Copyright © 2011. All Rights Reserved.