Package com.jogamp.opengl.util.glsl.sdk
Class CompileShaderNVidia
- java.lang.Object
-
- com.jogamp.opengl.util.glsl.sdk.CompileShader
-
- com.jogamp.opengl.util.glsl.sdk.CompileShaderNVidia
-
public class CompileShaderNVidia extends CompileShader
Precompiles a shader into NVidia 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".
-
-
Constructor Summary
Constructors Constructor Description CompileShaderNVidia()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBinaryFormat()
String
getFragmentShaderCompiler()
File
getSDKCompilerDir()
String
getVertexShaderCompiler()
static void
main(String[] args)
-
Methods inherited from class com.jogamp.opengl.util.glsl.sdk.CompileShader
processOneShader, processOneShader, run
-
-
-
-
Method Detail
-
getBinaryFormat
public int getBinaryFormat()
- Specified by:
getBinaryFormat
in classCompileShader
-
getSDKCompilerDir
public File getSDKCompilerDir()
- Specified by:
getSDKCompilerDir
in classCompileShader
-
getVertexShaderCompiler
public String getVertexShaderCompiler()
- Specified by:
getVertexShaderCompiler
in classCompileShader
-
getFragmentShaderCompiler
public String getFragmentShaderCompiler()
- Specified by:
getFragmentShaderCompiler
in classCompileShader
-
main
public static void main(String[] args)
-
-