Class ShaderProgramLoader.ShaderProgramParameter

java.lang.Object
arc.assets.AssetLoaderParameters<Shader>
arc.assets.loaders.ShaderProgramLoader.ShaderProgramParameter
Enclosing class:
ShaderProgramLoader

public static class ShaderProgramLoader.ShaderProgramParameter extends AssetLoaderParameters<Shader>
  • Field Details

    • 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.
    • 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. Shader.prependVertexCode 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. Shader.prependFragmentCode is placed before this code.
  • Constructor Details

    • ShaderProgramParameter

      public ShaderProgramParameter()