glcanvas
Class ShaderUtil

java.lang.Object
  extended by glcanvas.ShaderUtil

public class ShaderUtil
extends java.lang.Object


Constructor Summary
ShaderUtil()
           
 
Method Summary
static void checkLogInfo(javax.media.opengl.GL gl, int shader)
           
static int getProgram()
           
static void initShader(javax.media.opengl.GL gl)
           
static void linkProgam(javax.media.opengl.GL gl)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShaderUtil

public ShaderUtil()
Method Detail

checkLogInfo

public static void checkLogInfo(javax.media.opengl.GL gl,
                                int shader)

getProgram

public static int getProgram()

initShader

public static void initShader(javax.media.opengl.GL gl)

linkProgam

public static void linkProgam(javax.media.opengl.GL gl)