Package foundry.veil.render.shader
Class ShaderSourceSet
java.lang.Object
foundry.veil.render.shader.ShaderSourceSet
A location to load shader source files from.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.FileToIdConverternet.minecraft.resources.FileToIdConverternet.minecraft.resources.FileToIdConvertergetTypeConverter(int type) Retrieves the id converter of a shader type.
-
Constructor Details
-
ShaderSourceSet
-
-
Method Details
-
getFolder
- Returns:
- The location to load shader definitions from
-
getShaderDefinitionLister
public net.minecraft.resources.FileToIdConverter getShaderDefinitionLister()- Returns:
- The lister for shader definitions
-
getGlslConverter
public net.minecraft.resources.FileToIdConverter getGlslConverter()- Returns:
- The converter for a regular
glslshader type
-
getTypeConverter
public net.minecraft.resources.FileToIdConverter getTypeConverter(int type) Retrieves the id converter of a shader type.- Parameters:
type- The GL enum for the type- Returns:
- The file type converter or
glslif the type is unknown
-