Aviatrix3D
2.1.0

org.j3d.aviatrix3d
Interface OffscreenTextureSource

All Superinterfaces:
TextureSource
All Known Subinterfaces:
MultipassTextureSource, PBufferTextureSource
All Known Implementing Classes:
MultipassTextureComponent

Deprecated. Use OffscreenTexture2D or MRTOffscreenTexture2D

public interface OffscreenTextureSource
extends TextureSource

Marker describing a texture source that gets it's source data from an offscreen, direct rendering path.

Examples of this type of texture are either multipass and pBuffer textures.

An offscreen texture source does not directly define how the geometry is presented to the the texture source. See the derived interfaces for methods that allow setting of the geometry to be rendered.

Version:
$Revision: 1.9 $
Author:
Justin Couch

Field Summary
 
Fields inherited from interface org.j3d.aviatrix3d.TextureSource
FORMAT_BGR, FORMAT_BGRA, FORMAT_INTENSITY_ALPHA, FORMAT_LUMINANCE_ALPHA, FORMAT_RGB, FORMAT_RGBA, FORMAT_SINGLE_COMPONENT
 
Method Summary
 void getClearColor(float[] col)
          Deprecated. Set the background colour that this surface should be cleared to before the drawing step.
 int getHeight()
          Deprecated. Get the height of the texture in pixels.
 boolean isRepaintRequired()
          Deprecated. Get the current state of the repainting enabled flag.
 
Methods inherited from interface org.j3d.aviatrix3d.TextureSource
getFormat, getNumLevels, getWidth
 

Method Detail

getHeight

int getHeight()
Deprecated. 
Get the height of the texture in pixels. If no image is set, this returns -1.

Returns:
a number >= -1

isRepaintRequired

boolean isRepaintRequired()
Deprecated. 
Get the current state of the repainting enabled flag.

Returns:
true when the texture requires re-drawing

getClearColor

void getClearColor(float[] col)
Deprecated. 
Set the background colour that this surface should be cleared to before the drawing step. Colours range from 0 to 1 in the normal manner.

Parameters:
col - An array of at least length 4 to copy values into

Aviatrix3D
2.1.0

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