Aviatrix3D
2.1.0

org.j3d.aviatrix3d.rendering
Interface ViewportCullable

All Superinterfaces:
Cullable
All Known Implementing Classes:
CompositeViewport, MultipassViewport, SimpleViewport, Viewport2D

public interface ViewportCullable
extends Cullable

A cullable that represents a single visual composited layer.

A layer has zero or more viewports to process.

Version:
$Revision: 2.2 $
Author:
Justin Couch

Method Summary
 ViewportLayerCullable getCullableLayer(int viewportIndex)
          Get the cullable layer child that for the given layer index.
 boolean isValid()
          Check to see if this viewport is valid.
 int numCullableChildren()
          Returns the number of valid cullable children to process.
 

Method Detail

isValid

boolean isValid()
Check to see if this viewport is valid. A valid viewport has both a non zero width and height.

Returns:
true if this viewport has something usable to render

getCullableLayer

ViewportLayerCullable getCullableLayer(int viewportIndex)
Get the cullable layer child that for the given layer index.

Returns:
The layer cullable at the given index or null

numCullableChildren

int numCullableChildren()
Returns the number of valid cullable children to process. If there are no valid cullable children, return 0.

Returns:
A number greater than or equal to zero

Aviatrix3D
2.1.0

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