public class CompileJSL
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
CompileJSL.AlphaMaskType |
private static class |
CompileJSL.CycleType |
private static class |
CompileJSL.InputParam |
private static class |
CompileJSL.MaskType |
private static class |
CompileJSL.PaintType |
private static class |
CompileJSL.ShaderInfo |
Constructor and Description |
---|
CompileJSL() |
Modifier and Type | Method and Description |
---|---|
private static void |
compileAlphaGradientPaint(JSLC.JSLCInfo jslcinfo,
CompileJSL.ShaderInfo maskInfo,
CompileJSL.PaintType paintType,
boolean alphaTest) |
private static void |
compileAlphaPatternPaint(JSLC.JSLCInfo jslcinfo,
CompileJSL.ShaderInfo maskInfo,
boolean alphaTest) |
private static void |
compileColorPaint(JSLC.JSLCInfo jslcinfo,
CompileJSL.ShaderInfo maskInfo,
boolean alphaTest) |
private static void |
compileGradientPaint(JSLC.JSLCInfo jslcinfo,
CompileJSL.ShaderInfo maskInfo,
CompileJSL.PaintType paintType,
CompileJSL.CycleType cycleType,
boolean alphaTest) |
private static void |
compileLCDShader(JSLC.JSLCInfo jslcinfo,
java.lang.String suffix,
boolean alphaTest) |
private static void |
compileMaskTexture(JSLC.JSLCInfo jslcinfo,
java.lang.String suffix,
boolean alphaTest) |
private static void |
compilePatternPaint(JSLC.JSLCInfo jslcinfo,
CompileJSL.ShaderInfo maskInfo,
boolean alphaTest) |
private static void |
compileShader(JSLC.JSLCInfo jslcinfo,
CompileJSL.ShaderInfo info) |
private static void |
compileShader(JSLC.JSLCInfo jslcinfo,
java.lang.String source,
long sourcetime,
java.lang.String name) |
private static void |
compileSolidTexture(JSLC.JSLCInfo jslcinfo,
java.lang.String suffix,
boolean alphaTest) |
private static CompileJSL.ShaderInfo |
getFullSource(java.lang.String outputName,
CompileJSL.ShaderInfo maskInfo,
CompileJSL.ShaderInfo paintInfo,
boolean alphaTest) |
private static CompileJSL.ShaderInfo |
getMaskInfo(JSLC.JSLCInfo jslcinfo,
CompileJSL.AlphaMaskType maskType) |
private static CompileJSL.ShaderInfo |
getMaskInfo(JSLC.JSLCInfo jslcinfo,
CompileJSL.MaskType maskType) |
private static CompileJSL.ShaderInfo |
getMaskInfo(JSLC.JSLCInfo jslcinfo,
java.lang.String maskName,
CompileJSL.InputParam... inputParams) |
private static CompileJSL.ShaderInfo |
getPaintInfo(JSLC.JSLCInfo jslcinfo,
java.lang.String paintName,
CompileJSL.InputParam... inputParams) |
private static java.lang.String |
getParamString(CompileJSL.ShaderInfo info) |
static void |
main(java.lang.String[] args) |
private static java.lang.String |
readFile(java.io.File file) |
private static java.lang.String |
readShaderFile(JSLC.JSLCInfo jslcinfo,
java.lang.String name) |
private static java.lang.String |
readStream(java.io.InputStream in) |
private static long |
shaderFileTime(JSLC.JSLCInfo jslcinfo,
java.lang.String name) |
private static CompileJSL.ShaderInfo getMaskInfo(JSLC.JSLCInfo jslcinfo, CompileJSL.MaskType maskType) throws java.lang.Exception
java.lang.Exception
private static CompileJSL.ShaderInfo getMaskInfo(JSLC.JSLCInfo jslcinfo, CompileJSL.AlphaMaskType maskType) throws java.lang.Exception
java.lang.Exception
private static CompileJSL.ShaderInfo getMaskInfo(JSLC.JSLCInfo jslcinfo, java.lang.String maskName, CompileJSL.InputParam... inputParams) throws java.lang.Exception
java.lang.Exception
private static CompileJSL.ShaderInfo getPaintInfo(JSLC.JSLCInfo jslcinfo, java.lang.String paintName, CompileJSL.InputParam... inputParams) throws java.lang.Exception
java.lang.Exception
private static void compileColorPaint(JSLC.JSLCInfo jslcinfo, CompileJSL.ShaderInfo maskInfo, boolean alphaTest) throws java.lang.Exception
java.lang.Exception
private static void compileGradientPaint(JSLC.JSLCInfo jslcinfo, CompileJSL.ShaderInfo maskInfo, CompileJSL.PaintType paintType, CompileJSL.CycleType cycleType, boolean alphaTest) throws java.lang.Exception
java.lang.Exception
private static void compileAlphaGradientPaint(JSLC.JSLCInfo jslcinfo, CompileJSL.ShaderInfo maskInfo, CompileJSL.PaintType paintType, boolean alphaTest) throws java.lang.Exception
java.lang.Exception
private static void compilePatternPaint(JSLC.JSLCInfo jslcinfo, CompileJSL.ShaderInfo maskInfo, boolean alphaTest) throws java.lang.Exception
java.lang.Exception
private static void compileAlphaPatternPaint(JSLC.JSLCInfo jslcinfo, CompileJSL.ShaderInfo maskInfo, boolean alphaTest) throws java.lang.Exception
java.lang.Exception
private static void compileSolidTexture(JSLC.JSLCInfo jslcinfo, java.lang.String suffix, boolean alphaTest) throws java.lang.Exception
java.lang.Exception
private static void compileMaskTexture(JSLC.JSLCInfo jslcinfo, java.lang.String suffix, boolean alphaTest) throws java.lang.Exception
java.lang.Exception
private static void compileLCDShader(JSLC.JSLCInfo jslcinfo, java.lang.String suffix, boolean alphaTest) throws java.lang.Exception
java.lang.Exception
private static java.lang.String getParamString(CompileJSL.ShaderInfo info)
private static CompileJSL.ShaderInfo getFullSource(java.lang.String outputName, CompileJSL.ShaderInfo maskInfo, CompileJSL.ShaderInfo paintInfo, boolean alphaTest) throws java.lang.Exception
java.lang.Exception
private static void compileShader(JSLC.JSLCInfo jslcinfo, CompileJSL.ShaderInfo info) throws java.lang.Exception
java.lang.Exception
private static void compileShader(JSLC.JSLCInfo jslcinfo, java.lang.String source, long sourcetime, java.lang.String name) throws java.lang.Exception
java.lang.Exception
private static java.lang.String readStream(java.io.InputStream in)
private static java.lang.String readFile(java.io.File file) throws java.lang.Exception
java.lang.Exception
private static java.lang.String readShaderFile(JSLC.JSLCInfo jslcinfo, java.lang.String name) throws java.lang.Exception
java.lang.Exception
private static long shaderFileTime(JSLC.JSLCInfo jslcinfo, java.lang.String name)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception