Interface ShaderPreProcessor.VeilContext

All Superinterfaces:
ShaderPreProcessor.Context
Enclosing interface:
ShaderPreProcessor

public static non-sealed interface ShaderPreProcessor.VeilContext extends ShaderPreProcessor.Context
Context for modifying source code and shader behavior.
  • Method Details

    • addUniformBinding

      void addUniformBinding(String name, int binding)
      Sets the uniform binding for a shader.
      Parameters:
      name - The name of the uniform
      binding - The binding to set it to
    • definition

      @Nullable @Nullable ProgramDefinition definition()
      Returns:
      The definition of the program this is being compiled for or null if the shader is standalone