Aviatrix3D
2.0 Dev

org.j3d.aviatrix3d
Interface ShaderSceneGraphObject

All Known Implementing Classes:
ShaderObject, ShaderProgram

public interface ShaderSceneGraphObject

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: 1.3 $
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.
 

Method Detail

initialize

public 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

public 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.0 Dev

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