Precompiles a shader into a vendor binary format.
More...
|
| static String | basename (final String path) |
| |
| static String | dirname (final String path) |
| |
Precompiles a shader into a vendor binary format.
Input is the resource name of the shader, such as "com/jogamp/opengl/impl/glsl/fixed/shader/a.fp". Output is "com/jogamp/opengl/impl/glsl/fixed/shader/bin/nvidia/a.bfp".
All path and suffixes are determined by the ShaderCode class, which ensures runtime compatibility.
- See also
- com.jogamp.opengl.util.glsl.ShaderCode
Definition at line 23 of file CompileShader.java.
◆ basename()
| static String com.jogamp.opengl.util.glsl.sdk.CompileShader.basename |
( |
final String |
path | ) |
|
|
staticprotected |
◆ dirname()
| static String com.jogamp.opengl.util.glsl.sdk.CompileShader.dirname |
( |
final String |
path | ) |
|
|
staticprotected |
◆ getBinaryFormat()
| abstract int com.jogamp.opengl.util.glsl.sdk.CompileShader.getBinaryFormat |
( |
| ) |
|
|
abstract |
◆ getFragmentShaderCompiler()
| abstract String com.jogamp.opengl.util.glsl.sdk.CompileShader.getFragmentShaderCompiler |
( |
| ) |
|
|
abstract |
◆ getSDKCompilerDir()
| abstract File com.jogamp.opengl.util.glsl.sdk.CompileShader.getSDKCompilerDir |
( |
| ) |
|
|
abstract |
◆ getVertexShaderCompiler()
| abstract String com.jogamp.opengl.util.glsl.sdk.CompileShader.getVertexShaderCompiler |
( |
| ) |
|
|
abstract |
◆ processOneShader() [1/2]
| void com.jogamp.opengl.util.glsl.sdk.CompileShader.processOneShader |
( |
final String |
resourceName | ) |
throws IOException, UnsupportedEncodingException, InterruptedException |
◆ processOneShader() [2/2]
| void com.jogamp.opengl.util.glsl.sdk.CompileShader.processOneShader |
( |
final String |
resourceName, |
|
|
final String |
outName, |
|
|
final int |
type |
|
) |
| throws IOException, UnsupportedEncodingException, InterruptedException |
◆ run()
| void com.jogamp.opengl.util.glsl.sdk.CompileShader.run |
( |
final String[] |
args | ) |
|
The documentation for this class was generated from the following file: