Class TessellationShaderProgramProvider.ShaderProgramParameter

java.lang.Object
com.badlogic.gdx.assets.AssetLoaderParameters<TessellationShaderProgram>
gaiasky.util.gdx.shader.provider.TessellationShaderProgramProvider.ShaderProgramParameter
Enclosing class:
TessellationShaderProgramProvider

public static class TessellationShaderProgramProvider.ShaderProgramParameter extends com.badlogic.gdx.assets.AssetLoaderParameters<TessellationShaderProgram>
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.badlogic.gdx.assets.AssetLoaderParameters

    com.badlogic.gdx.assets.AssetLoaderParameters.LoadedCallback
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    File name to be used for the tessellation control shader.
    File name to be used for the tessellation evaluation shader.
    File name to be used for the fragment program instead of the default determined by the file name used to submit this asset to AssetManager.
    boolean
    Whether to log (at the error level) the shader's log if it fails to compile.
    Name of the shader.
    Code that is always added to the tessellation control shader code.
    Code that is always added to the tessellation evaluation shader code.
    Code that is always added to the fragment shader code.
    Code that is always added to the vertex shader code.
    File name to be used for the vertex program instead of the default determined by the file name used to submit this asset to AssetManager.

    Fields inherited from class com.badlogic.gdx.assets.AssetLoaderParameters

    loadedCallback
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      public String name
      Name of the shader. Optional.
    • vertexFile

      public String vertexFile
      File name to be used for the vertex program instead of the default determined by the file name used to submit this asset to AssetManager.
    • controlFile

      public String controlFile
      File name to be used for the tessellation control shader.
    • evaluationFile

      public String evaluationFile
      File name to be used for the tessellation evaluation shader.
    • fragmentFile

      public String fragmentFile
      File name to be used for the fragment program instead of the default determined by the file name used to submit this asset to AssetManager.
    • logOnCompileFailure

      public boolean logOnCompileFailure
      Whether to log (at the error level) the shader's log if it fails to compile. Default true.
    • prependVertexCode

      public String prependVertexCode
      Code that is always added to the vertex shader code. This is added as-is, and you should include a newline (`\n`) if needed. ExtShaderProgram.prependVertexCode is placed before this code.
    • prependControlCode

      public String prependControlCode
      Code that is always added to the tessellation control shader code. This is added as-is, and you should include a newline (`\n`) if needed. TessellationShaderProgram.prependControlCode is placed before this code.
    • prependEvaluationCode

      public String prependEvaluationCode
      Code that is always added to the tessellation evaluation shader code. This is added as-is, and you should include a newline (`\n`) if needed. TessellationShaderProgram.prependEvaluationCode is placed before this code.
    • prependFragmentCode

      public String prependFragmentCode
      Code that is always added to the fragment shader code. This is added as-is, and you should include a newline (`\n`) if needed. ExtShaderProgram.prependFragmentCode is placed before this code.
  • Constructor Details

    • ShaderProgramParameter

      public ShaderProgramParameter()