Interface ShaderPreProcessor.MinecraftContext

All Superinterfaces:
ShaderPreProcessor.Context
Enclosing interface:
ShaderPreProcessor

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

    • shaderInstance

      String shaderInstance()
      Returns:
      The name of the shader instance this was compiled with
    • vertexFormat

      com.mojang.blaze3d.vertex.VertexFormat vertexFormat()
      Returns:
      The vertex format specified in the shader