Top Fields Constructors Methods
org.lwjgl.test.opengles.util

public Class Shader

extends Object
implements GLObject
Class Inheritance
All Implemented Interfaces
org.lwjgl.test.opengles.util.GLObject
Imports
org.lwjgl.BufferUtils, java.io.BufferedInputStream, .IOException, .InputStream, java.nio.ByteBuffer

Field Summary

Modifier and TypeField and Description
protected static ByteBuffer
private int
private int

Constructor Summary

AccessConstructor and Description
public
public
Shader(final int type, final CharSequence source)

Method Summary

Modifier and TypeMethod and Description
public void
createFromFile(final int type, final ClassLoader loader, final String file)

public void
createFromSource(final int type, final CharSequence source)

public void
public int
public int
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fileBufferback to summary
protected static ByteBuffer fileBuffer
IDback to summary
private int ID
typeback to summary
private int type

Constructor Detail

Shaderback to summary
public Shader()
Shaderback to summary
public Shader(final int type, final CharSequence source)

Method Detail

createFromFileback to summary
public void createFromFile(final int type, final ClassLoader loader, final String file) throws IOException
createFromSourceback to summary
public void createFromSource(final int type, final CharSequence source)
destroyback to summary
public void destroy()

Implements org.lwjgl.test.opengles.util.GLObject.destroy.

getIDback to summary
public int getID()

Implements org.lwjgl.test.opengles.util.GLObject.getID.

getTypeback to summary
public int getType()
printInfoLogback to summary
public void printInfoLog()