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 intgetBinaryFormat()StringgetFragmentShaderCompiler()FilegetSDKCompilerDir()StringgetVertexShaderCompiler()static voidmain(String[] args)-
Methods inherited from class com.jogamp.opengl.util.glsl.sdk.CompileShader
processOneShader, processOneShader, run
-
-
-
-
Method Detail
-
getBinaryFormat
public int getBinaryFormat()
- Specified by:
getBinaryFormatin classCompileShader
-
getSDKCompilerDir
public File getSDKCompilerDir()
- Specified by:
getSDKCompilerDirin classCompileShader
-
getVertexShaderCompiler
public String getVertexShaderCompiler()
- Specified by:
getVertexShaderCompilerin classCompileShader
-
getFragmentShaderCompiler
public String getFragmentShaderCompiler()
- Specified by:
getFragmentShaderCompilerin classCompileShader
-
main
public static void main(String[] args)
-
-