com.jogamp.opengl.util.glsl
public class ShaderUtil extends Object
Constructor and Description |
---|
ShaderUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
attachShader(GL gl,
int program,
IntBuffer shaders) |
static void |
compileShader(GL gl,
IntBuffer shaders) |
static boolean |
createAndCompileShader(GL gl,
IntBuffer shader,
int shaderType,
String[][] sources,
PrintStream verboseOut) |
static boolean |
createAndLoadShader(GL gl,
IntBuffer shader,
int shaderType,
int binFormat,
Buffer bin,
PrintStream verboseOut) |
static void |
createShader(GL gl,
int type,
IntBuffer shaders) |
static void |
deleteShader(GL gl,
IntBuffer shaders) |
static void |
detachShader(GL gl,
int program,
IntBuffer shaders) |
static String |
getProgramInfoLog(GL gl,
int programObj) |
static Set<Integer> |
getShaderBinaryFormats(GL gl) |
static String |
getShaderInfoLog(GL gl,
int shaderObj) |
static boolean |
isProgramStatusValid(GL gl,
int programObj,
int name) |
static boolean |
isProgramValid(GL gl,
int programObj) |
static boolean |
isProgramValid(GL gl,
int programObj,
PrintStream verboseOut) |
static boolean |
isShaderCompilerAvailable(GL gl) |
static boolean |
isShaderStatusValid(GL gl,
IntBuffer shaders,
int name) |
static boolean |
isShaderStatusValid(GL gl,
IntBuffer shaders,
int name,
PrintStream verboseOut) |
static boolean |
isShaderStatusValid(GL gl,
int shaderObj,
int name) |
static boolean |
isShaderStatusValid(GL gl,
int shaderObj,
int name,
PrintStream verboseOut) |
static void |
shaderBinary(GL gl,
IntBuffer shaders,
int binFormat,
Buffer bin) |
static void |
shaderSource(GL gl,
IntBuffer shaders,
String[][] sources) |
static void |
shaderSource(GL gl,
int shader,
String[] source) |
public static boolean isShaderStatusValid(GL gl, int shaderObj, int name)
public static boolean isShaderStatusValid(GL gl, int shaderObj, int name, PrintStream verboseOut)
public static boolean isShaderStatusValid(GL gl, IntBuffer shaders, int name, PrintStream verboseOut)
public static boolean isProgramStatusValid(GL gl, int programObj, int name)
public static boolean isProgramValid(GL gl, int programObj)
public static boolean isProgramValid(GL gl, int programObj, PrintStream verboseOut)
public static boolean isShaderCompilerAvailable(GL gl)
public static boolean createAndLoadShader(GL gl, IntBuffer shader, int shaderType, int binFormat, Buffer bin, PrintStream verboseOut)
public static boolean createAndCompileShader(GL gl, IntBuffer shader, int shaderType, String[][] sources, PrintStream verboseOut)
Copyright 2010 JogAmp Community.