com.sun.opengl.util.glsl.sdk
Class CompileShaderNVidia
java.lang.Object
com.sun.opengl.util.glsl.sdk.CompileShader
com.sun.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/sun/opengl/impl/glsl/fixed/shader/a.fp".
Output is "com/sun/opengl/impl/glsl/fixed/shader/bin/nvidia/a.bfp".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompileShaderNVidia
public CompileShaderNVidia()
getBinaryFormat
public int getBinaryFormat()
- Specified by:
getBinaryFormat
in class CompileShader
getSDKCompilerDir
public File getSDKCompilerDir()
- Specified by:
getSDKCompilerDir
in class CompileShader
getVertexShaderCompiler
public String getVertexShaderCompiler()
- Specified by:
getVertexShaderCompiler
in class CompileShader
getFragmentShaderCompiler
public String getFragmentShaderCompiler()
- Specified by:
getFragmentShaderCompiler
in class CompileShader
main
public static void main(String[] args)
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.