Top Fields Constructors Methods
org.lwjgl.test.opengl.shaders

pack-priv abstract Class Shader

extends Object
Class Inheritance
Known Direct Subclasses
org.lwjgl.test.opengl.shaders.ShaderFP, org.lwjgl.test.opengl.shaders.ShaderFSH, org.lwjgl.test.opengl.shaders.ShaderUNI, org.lwjgl.test.opengl.shaders.ShaderVP, org.lwjgl.test.opengl.shaders.ShaderVSH
Imports
org.lwjgl.BufferUtils, java.io.BufferedInputStream, .FileInputStream, .IOException, .InputStream, java.nio.ByteBuffer

Field Summary

Modifier and TypeField and Description
protected static ByteBuffer

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected static void
checkProgramError(String programFile, String programSource)

pack-priv abstract void
protected static String
protected static int
getUniformLocation(int ID, String name)

protected static void
protected static void
pack-priv abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fileBufferback to summary
protected static ByteBuffer fileBuffer

Constructor Detail

Shaderback to summary
protected Shader()

Method Detail

checkProgramErrorback to summary
protected static void checkProgramError(String programFile, String programSource)
cleanupback to summary
pack-priv abstract void cleanup()
getShaderTextback to summary
protected static String getShaderText(String file)
getUniformLocationback to summary
protected static int getUniformLocation(int ID, String name)
printShaderObjectInfoLogback to summary
protected static void printShaderObjectInfoLog(String file, int ID)
printShaderProgramInfoLogback to summary
protected static void printShaderProgramInfoLog(int ID)
renderback to summary
pack-priv abstract void render()