com.threerings.opengl.effect
Class ParticleGeometry.Meshes

java.lang.Object
  extended by com.threerings.opengl.geometry.Geometry
      extended by com.threerings.opengl.geometry.DynamicGeometry
          extended by com.threerings.opengl.effect.ParticleGeometry
              extended by com.threerings.opengl.effect.ParticleGeometry.Meshes
Enclosing class:
ParticleGeometry

public static class ParticleGeometry.Meshes
extends ParticleGeometry

Renders particles as meshes.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.effect.ParticleGeometry
ParticleGeometry.Lines, ParticleGeometry.LineTrails, ParticleGeometry.Meshes, ParticleGeometry.Points, ParticleGeometry.Quads, ParticleGeometry.QuadTrails
 
Field Summary
 
Fields inherited from class com.threerings.opengl.geometry.Geometry
EMPTY
 
Constructor Summary
ParticleGeometry.Meshes(GlContext ctx, Scope scope, PassDescriptor[] passes, GeometryConfig.IndexedStored geom)
           
 
Method Summary
static ParticleGeometry create(GlContext ctx, Scope scope, PassDescriptor[] passes, GeometryConfig geom)
          Attempts to create mesh geometry, falling back on points if the specified geometry is unsuitable.
 
Methods inherited from class com.threerings.opengl.effect.ParticleGeometry
getArrayState, getCenter, getDrawCommand, update
 
Methods inherited from class com.threerings.opengl.geometry.DynamicGeometry
requiresUpdate
 
Methods inherited from class com.threerings.opengl.geometry.Geometry
getBoneMatrices, getCoordSpace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParticleGeometry.Meshes

public ParticleGeometry.Meshes(GlContext ctx,
                               Scope scope,
                               PassDescriptor[] passes,
                               GeometryConfig.IndexedStored geom)
Method Detail

create

public static ParticleGeometry create(GlContext ctx,
                                      Scope scope,
                                      PassDescriptor[] passes,
                                      GeometryConfig geom)
Attempts to create mesh geometry, falling back on points if the specified geometry is unsuitable.



Copyright © 2011. All Rights Reserved.