Aviatrix3D 1.0

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.2 $
Author:
Justin Couch

Method Summary
 void fetchLogInfo(net.java.games.jogl.GL gl, net.java.games.jogl.GLU glu)
          The user requested log information about the shader object, so now is the time to fetch it.
 void initialize(net.java.games.jogl.GL gl, net.java.games.jogl.GLU glu)
          Perform any initialisation needed at this time because the shader has requested it.
 

Method Detail

initialize

public void initialize(net.java.games.jogl.GL gl,
                       net.java.games.jogl.GLU glu)
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
glu - The utility context to draw with

fetchLogInfo

public void fetchLogInfo(net.java.games.jogl.GL gl,
                         net.java.games.jogl.GLU glu)
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
glu - The utility context to draw with

Aviatrix3D 1.0

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