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 Summary
Modifier and TypeMethodDescriptioncom.mojang.blaze3d.vertex.VertexFormat
Methods inherited from interface foundry.veil.api.client.render.shader.processor.ShaderPreProcessor.Context
activeBuffers, customProgramData, include, include, isFragment, isGeometry, isSourceFile, isTessellationControl, isTessellationEvaluation, isVertex, macros, modifyInclude, name, preDefinitions, shaderImporter, type, typeName
-
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
-