Class GraphicsPipelineBuilder

java.lang.Object
icyllis.arc3d.granite.shading.GraphicsPipelineBuilder

public abstract class GraphicsPipelineBuilder extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getCaps

      public final Caps getCaps()
    • shaderCaps

      public final ShaderCaps shaderCaps()
    • nameVariable

      public final String nameVariable(char prefix, String name)
    • nameVariable

      public final String nameVariable(char prefix, String name, boolean mangle)
      Generates a name for a variable. The generated string will be name-prefixed by the prefix char (unless the prefix is '\0'). It also will mangle the name to be stage-specific unless explicitly asked not to. `nameVariable` can also be used to generate names for functions or other types of symbols where unique names are important.
    • uniformHandler

      public abstract UniformHandler uniformHandler()
    • varyingHandler

      public abstract VaryingHandler varyingHandler()
    • addExtension

      public final void addExtension(int shaderFlags, @Nullable String extensionName)
    • emitAndInstallProcs

      protected final boolean emitAndInstallProcs()