| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static boolean | createAndCompileShader(final GL _gl, final IntBuffer shader, final int shaderType, final CharSequence[][] sources, final PrintStream verboseOut)
|
| public static boolean | createAndLoadShader(final GL _gl, final IntBuffer shader, final int shaderType, final int binFormat, final Buffer bin, final PrintStream verboseOut)
|
| public static void | |
| public static void | |
| public static void | |
| private static ShaderUtil. | |
| public static String | |
| public static Set | getShaderBinaryFormats(final GL _gl)
If supported, queries the natively supported shader binary formats using
|
| public static String | |
| public static boolean | isGeometryShaderSupported(final GL _gl)
Returns true if GeometryShader is supported, i.e. whether GLContext is ≥ 3.2 or ARB_geometry_shader4 extension is available. |
| public static boolean | isProgramExecStatusValid(final GL _gl, final int programObj, final PrintStream verboseOut)
Performs One shall only call this method while debugging and only if all required resources by the shader are set. |
| public static boolean | |
| public static boolean | |
| public static boolean | isShaderCompilerAvailable(final GL _gl)
Returns true if a hader compiler is available, otherwise false. |
| public static boolean | isShaderStatusValid(final GL _gl, final int shaderObj, final int name, final PrintStream verboseOut)
|
| public static boolean | isShaderStatusValid(final GL _gl, final IntBuffer shaders, final int name, final PrintStream verboseOut)
|
| public static void | |
| public static void | |
| public static void |
| implObjectKey | back to summary |
|---|---|
| private static final String implObjectKey | |
| ShaderUtil | back to summary |
|---|---|
| public ShaderUtil() | |
| attachShader | back to summary |
|---|---|
| public static void attachShader(final GL _gl, final int program, final IntBuffer shaders) | |
| compileShader | back to summary |
|---|---|
| public static void compileShader(final GL _gl, final IntBuffer shaders) | |
| createAndCompileShader | back to summary |
|---|---|
| public static boolean createAndCompileShader(final GL _gl, final IntBuffer shader, final int shaderType, final CharSequence[][] sources, final PrintStream verboseOut) | |
| createAndLoadShader | back to summary |
|---|---|
| public static boolean createAndLoadShader(final GL _gl, final IntBuffer shader, final int shaderType, final int binFormat, final Buffer bin, final PrintStream verboseOut) | |
| createShader | back to summary |
|---|---|
| public static void createShader(final GL _gl, final int type, final IntBuffer shaders) | |
| deleteShader | back to summary |
|---|---|
| public static void deleteShader(final GL _gl, final IntBuffer shaders) | |
| detachShader | back to summary |
|---|---|
| public static void detachShader(final GL _gl, final int program, final IntBuffer shaders) | |
| getProfileInformation | back to summary |
|---|---|
| private static ShaderUtil. | |
| getProgramInfoLog | back to summary |
|---|---|
| public static String getProgramInfoLog(final GL _gl, final int programObj) | |
| getShaderBinaryFormats | back to summary |
|---|---|
| public static Set If supported, queries the natively supported shader binary formats using
| |
| getShaderInfoLog | back to summary |
|---|---|
| public static String getShaderInfoLog(final GL _gl, final int shaderObj) | |
| isGeometryShaderSupported | back to summary |
|---|---|
| public static boolean isGeometryShaderSupported(final GL _gl) Returns true if GeometryShader is supported, i.e. whether GLContext is ≥ 3.2 or ARB_geometry_shader4 extension is available. | |
| isProgramExecStatusValid | back to summary |
|---|---|
| public static boolean isProgramExecStatusValid(final GL _gl, final int programObj, final PrintStream verboseOut) Performs One shall only call this method while debugging and only if all required resources by the shader are set. Note It is possible that a working shader program will fail validation. This has been experienced on NVidia APX2500 and Tegra2.
| |
| isProgramLinkStatusValid | back to summary |
|---|---|
| public static boolean isProgramLinkStatusValid(final GL _gl, final int programObj, final PrintStream verboseOut) | |
| isProgramStatusValid | back to summary |
|---|---|
| public static boolean isProgramStatusValid(final GL _gl, final int programObj, final int name) | |
| isShaderCompilerAvailable | back to summary |
|---|---|
| public static boolean isShaderCompilerAvailable(final GL _gl) Returns true if a hader compiler is available, otherwise false. | |
| isShaderStatusValid | back to summary |
|---|---|
| public static boolean isShaderStatusValid(final GL _gl, final int shaderObj, final int name, final PrintStream verboseOut) | |
| isShaderStatusValid | back to summary |
|---|---|
| public static boolean isShaderStatusValid(final GL _gl, final IntBuffer shaders, final int name, final PrintStream verboseOut) | |
| shaderBinary | back to summary |
|---|---|
| public static void shaderBinary(final GL _gl, final IntBuffer shaders, final int binFormat, final Buffer bin) | |
| shaderSource | back to summary |
|---|---|
| public static void shaderSource(final GL _gl, final int shader, final CharSequence[] source) | |
| shaderSource | back to summary |
|---|---|
| public static void shaderSource(final GL _gl, final IntBuffer shaders, final CharSequence[][] sources) | |
| Access | Constructor and Description |
|---|---|
| private |
| shaderBinaryFormats | back to summary |
|---|---|
| pack-priv Set<Integer> shaderBinaryFormats | |
| shaderCompilerAvailable | back to summary |
|---|---|
| pack-priv Boolean shaderCompilerAvailable | |
| ProfileInformation | back to summary |
|---|---|
| private ProfileInformation() | |