com.mojang.blaze3d.preprocessor

public abstract class GlslPreprocessor

dza
com.mojang.blaze3d.preprocessor.GlslPreprocessor
net.minecraft.class_5913
net.minecraft.client.gl.GLImportProcessor
net.minecraft.src.C_141538_

Field summary

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

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)
m_166461_(String arg0)
private List<String>
a(String arg0, dza$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)
m_166469_(String p_166471_, C_141539_ p_166472_, String arg2)
private String
a(String arg0, dza$a arg1)
processVersions(String arg0, GlslPreprocessor$Context arg1)
method_34231(String arg0, class_5913$class_5914 arg1)
extractVersion(String line, GLImportProcessor$Context context)
m_166466_(String p_166468_, C_141539_ arg1)
private String
a(String arg0, int arg1)
setVersion(String arg0, int arg1)
method_34230(String arg0, int arg1)
readImport(String line, int start)
m_166463_(String p_166465_, int arg1)
private static boolean
a(String arg0, Matcher arg1)
isDirectiveEnabled(String arg0, Matcher arg1)
method_36423(String arg0, Matcher arg1)
isLineValid(String line, Matcher matcher)
m_166473_(String p_166474_, Matcher p_166475_)
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)
m_166476_(String p_166477_, Matcher p_166478_, int p_166479_)
public abstract String
a(boolean arg0, String arg1)
applyImport(boolean arg0, String arg1)
method_34233(boolean arg0, String arg1)
loadImport(boolean inline, String name)
m_142138_(boolean p_166481_, String arg1)