Aviatrix3D
2.0 Beta 2

org.j3d.aviatrix3d.rendering
Interface TextureRenderable

All Superinterfaces:
java.lang.Comparable, ComponentRenderable, Renderable
All Known Implementing Classes:
TextureUnit

public interface TextureRenderable
extends ComponentRenderable

Extended version of the ComponentRenderable interface that provides additional handling for textures.

Textures can come in several diffferent forms and this interface provides a way to map between the holding TextureUnit class and the rendering/culling stage with addtional information about the form of the contained texture without needing to pull apart the TextureUnit itself.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Method Summary
 OffscreenCullable getOffscreenSource()
          Fetch the offscreen texture source that this renderable holds on to.
 boolean isOffscreenSource()
          Check to see if the contained texture is an offscreen renderable such as a pbuffer or multipass texture.
 
Methods inherited from interface org.j3d.aviatrix3d.rendering.ComponentRenderable
postRender, render
 
Methods inherited from interface org.j3d.aviatrix3d.rendering.Renderable
equals
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

isOffscreenSource

public boolean isOffscreenSource()
Check to see if the contained texture is an offscreen renderable such as a pbuffer or multipass texture. If is is, then the XXXX method will return the contained cullable.

Returns:
true if the texture contains an offscreen source

getOffscreenSource

public OffscreenCullable getOffscreenSource()
Fetch the offscreen texture source that this renderable holds on to.

Returns:
The contained offscreen texture or null if none

Aviatrix3D
2.0 Beta 2

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2006 j3d.org