com.mojang.blaze3d.preprocessor

public abstract class GlslPreprocessor

ffb
com.mojang.blaze3d.preprocessor.GlslPreprocessor
net.minecraft.class_5913
net.minecraft.client.gl.GlImportProcessor

Field summary

Modifier and TypeField
private static final String
a
C_COMMENT
field_32036
MULTI_LINE_COMMENT_PATTERN
private static final String
b
LINE_COMMENT
field_33620
SINGLE_LINE_COMMENT_PATTERN
private static final Pattern
c
REGEX_MOJ_IMPORT
field_29200
MOJ_IMPORT_PATTERN
private static final Pattern
d
REGEX_VERSION
field_29201
IMPORT_VERSION_PATTERN
private static final Pattern
e
REGEX_ENDS_WITH_WHITESPACE
field_33621
TRAILING_WHITESPACE_PATTERN

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public List<String>
a(String arg0)
process(String arg0)
method_34229(String arg0)
readSource(String source)
private List<String>
a(String arg0, ffb$a arg1, String arg2)
processImports(String arg0, GlslPreprocessor$Context arg1, String arg2)
method_34232(String arg0, class_5913$class_5914 arg1, String arg2)
parseImports(String source, GlImportProcessor$Context context, String path)
private String
a(String arg0, ffb$a arg1)
processVersions(String arg0, GlslPreprocessor$Context arg1)
method_34231(String arg0, class_5913$class_5914 arg1)
extractVersion(String line, GlImportProcessor$Context context)
private String
a(String arg0, int arg1)
setVersion(String arg0, int arg1)
method_34230(String arg0, int arg1)
readImport(String line, int start)
private static boolean
a(String arg0, Matcher arg1)
isDirectiveEnabled(String arg0, Matcher arg1)
method_36423(String arg0, Matcher arg1)
isLineValid(String line, Matcher matcher)
private static boolean
a(String arg0, Matcher arg1, int arg2)
isDirectiveDisabled(String arg0, Matcher arg1, int arg2)
method_36424(String arg0, Matcher arg1, int arg2)
hasBogusString(String string, Matcher matcher, int matchEnd)
public abstract String
a(boolean arg0, String arg1)
applyImport(boolean arg0, String arg1)
method_34233(boolean arg0, String arg1)
loadImport(boolean inline, String name)
public static String
a(String arg0, gmp arg1)
injectDefines(String arg0, ShaderDefines arg1)
method_62880(String arg0, class_10149 arg1)
addDefines(String source, Defines defines)