Aviatrix3D
2.1.0

org.j3d.aviatrix3d.rendering
Interface ShaderSourceRenderable

All Superinterfaces:
java.lang.Comparable, Renderable
All Known Implementing Classes:
ShaderObject, ShaderProgram

public interface ShaderSourceRenderable
extends Renderable

Marker interface for shader objects that require interaction with the render loop code outside of the normal app-cull-draw cycle.

This interface is used by shaders that need some form of initialisation process to take place during the loading cycle or when feedback is required.

Version:
$Revision: 2.1 $
Author:
Justin Couch

Method Summary
 void fetchLogInfo(javax.media.opengl.GL gl)
          The user requested log information about the shader object, so now is the time to fetch it.
 void initialize(javax.media.opengl.GL gl)
          Perform any initialisation needed at this time because the shader has requested it.
 
Methods inherited from interface org.j3d.aviatrix3d.rendering.Renderable
equals
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

initialize

void initialize(javax.media.opengl.GL gl)
Perform any initialisation needed at this time because the shader has requested it. Typical initialisation is compiling or linking the shader, but may also include creation of the appropriate object handles etc.

Parameters:
gl - The gl context to draw with

fetchLogInfo

void fetchLogInfo(javax.media.opengl.GL gl)
The user requested log information about the shader object, so now is the time to fetch it.

Parameters:
gl - The gl context to draw with

Aviatrix3D
2.1.0

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