net.jinx.video
Interface Visible

All Known Subinterfaces:
MultipassVisible, Transform
All Known Implementing Classes:
AbstractVisible, AlphaBlend, Animation, CartesianGrid, CartesianOrigin, ColorCube, DemoRotator, DisplayList, InfinitePlane, Light, MessageView, Model, ParticleFountain, PhysicalSpark, PhysicalSphere, Plane, Rotation, Scale, SceneGraph, SceneGraph.SceneGraphElement, SkySphere, Sphere, SpringSheet, Translation, VariableSceneGraph, VisibleActor, VisibleDisplayList, VisiblePhysical

public interface Visible

Visible represents something that is drawable using a Renderer. This may seem like an obvious statement, but implementing Visible allows the creation of any visual effect that may be needed.

API Stability: Stable.


Method Summary
 void deinit(Context opt)
          Deinitializes this Visible, disposing of any resources that it may be using.
 void draw(Context opt)
          Renders this Visible to glDrawable.
 void init(Context opt)
          Initializes this Visible, preparing it for rendering.
 

Method Detail

init

void init(Context opt)
Initializes this Visible, preparing it for rendering. If this Visible contains other Visibles, then their init methods MUST be called first. This is essential for DisplayList objects to function properly and efficiently.

Parameters:
opt - describes the rendering options that are being used.

draw

void draw(Context opt)
Renders this Visible to glDrawable.

Parameters:
opt - describes the rendering options that are being used.

deinit

void deinit(Context opt)
Deinitializes this Visible, disposing of any resources that it may be using. If this Visible contains other Visibles, then their deinit methods MUST be called last. This is important for display lists.

Parameters:
opt - describes the rendering options that are being used.