net.jinx.video.multipass
Interface Translucent


public interface Translucent

This interface is used for Translucent objects that are concerned about being rendered in the correct order. See the TranslucentPass class for more information. All translucent objects should be drawn through this interface by adding them to the TranslucentPass via it's addTranslucent(Context,Translucent) method.

API Stability: Beta.


Method Summary
 void drawTranslucent(Context context)
          Draws this Translucent.
 Vector getPosition(Context context)
          Provides the position of this Translucent.
 

Method Detail

getPosition

Vector getPosition(Context context)
Provides the position of this Translucent. This is used for the sorting portion of the Painter's Algorithm.


drawTranslucent

void drawTranslucent(Context context)
Draws this Translucent.