com.threerings.opengl.effect
Class ParticleSystem.Layer

java.lang.Object
  extended by com.threerings.expr.SimpleScope
      extended by com.threerings.opengl.effect.BaseParticleSystem.Layer
          extended by com.threerings.opengl.effect.ParticleSystem.Layer
All Implemented Interfaces:
Scope, ScopeUpdateListener, Enqueueable
Enclosing class:
ParticleSystem

public static class ParticleSystem.Layer
extends BaseParticleSystem.Layer
implements Enqueueable

A single layer of the system.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
ParticleSystem.Layer(GlContext ctx, Scope parentScope, BaseParticleSystemConfig.Layer config)
          Creates a new layer.
 
Method Summary
 void composite()
          Composites the layer for rendering.
 void dispose()
          Releases the resources associated with this scope.
 void enqueue()
          Enqueues this object for rendering.
 void setConfig(BaseParticleSystemConfig.Layer config)
          Sets the layer's config.
 
Methods inherited from class com.threerings.opengl.effect.BaseParticleSystem.Layer
drawBounds, getCamera, getConfig, getScopeName, pointToLayer, reset, rotationToLayer, tick, vectorToLayer
 
Methods inherited from class com.threerings.expr.SimpleScope
addListener, get, getParentScope, removeListener, scopeUpdated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParticleSystem.Layer

public ParticleSystem.Layer(GlContext ctx,
                            Scope parentScope,
                            BaseParticleSystemConfig.Layer config)
Creates a new layer.

Method Detail

enqueue

public void enqueue()
Description copied from interface: Enqueueable
Enqueues this object for rendering.

Specified by:
enqueue in interface Enqueueable

setConfig

public void setConfig(BaseParticleSystemConfig.Layer config)
Description copied from class: BaseParticleSystem.Layer
Sets the layer's config.

Overrides:
setConfig in class BaseParticleSystem.Layer

composite

public void composite()
Description copied from class: BaseParticleSystem.Layer
Composites the layer for rendering.

Specified by:
composite in class BaseParticleSystem.Layer

dispose

public void dispose()
Description copied from class: SimpleScope
Releases the resources associated with this scope.

Overrides:
dispose in class SimpleScope


Copyright © 2011. All Rights Reserved.