com.mojang.blaze3d.preprocessor

public abstract class GlslPreprocessor

ffb
com.mojang.blaze3d.preprocessor.GlslPreprocessor
net.minecraft.class_5913
net.minecraft.unmapped.C_zoomygsl
net.minecraft.client.gl.GlImportProcessor
com.mojang.blaze3d.shader.GlslImportProcessor
net.minecraft.src.C_141538_

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public List<String>
a(String arg0)
process(String arg0)
method_34229(String arg0)
m_zkksxvxz(String arg0)
readSource(String source)
process(String source)
m_166461_(String arg0)
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)
m_jeewqfbu(String arg0, C_zoomygsl$C_ctvnulwe arg1, String arg2)
parseImports(String source, GlImportProcessor$Context context, String path)
parseImports(String source, GlslImportProcessor$Context context, String path)
m_166469_(String p_166471_, C_141538_$C_141539_ p_166472_, String arg2)
private String
a(String arg0, ffb$a arg1)
processVersions(String arg0, GlslPreprocessor$Context arg1)
method_34231(String arg0, class_5913$class_5914 arg1)
m_ezyxcmuh(String arg0, C_zoomygsl$C_ctvnulwe arg1)
extractVersion(String line, GlImportProcessor$Context context)
extractVersion(String line, GlslImportProcessor$Context context)
m_166466_(String p_166468_, C_141538_$C_141539_ arg1)
private String
a(String arg0, int arg1)
setVersion(String arg0, int arg1)
method_34230(String arg0, int arg1)
m_dwmitkff(String arg0, int arg1)
readImport(String line, int start)
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)
m_ltmhbezt(String arg0, Matcher arg1)
isLineValid(String line, Matcher matcher)
hasEnabledDirective(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)
m_twjlzqul(String arg0, Matcher arg1, int arg2)
hasBogusString(String string, Matcher matcher, int matchEnd)
hasDisabledDirective(String line, Matcher matcher, int start)
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)
m_oiptzbor(boolean arg0, String arg1)
loadImport(boolean inline, String name)
loadImport(boolean arg0, String arg1)
m_142138_(boolean p_166481_, String arg1)
public static String
a(String arg0, gmp arg1)
injectDefines(String arg0, ShaderDefines arg1)
method_62880(String arg0, class_10149 arg1)
m_udoahmld(String arg0, C_wechclhy arg1)
addDefines(String source, Defines defines)
m_357271_(String p_364024_, C_346062_ p_368515_)