Package com.mojang.blaze3d.preprocessor
Class GlslPreprocessor
java.lang.Object
com.mojang.blaze3d.preprocessor.GlslPreprocessor
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
applyImport
(boolean p_166480_, String p_166481_) private static boolean
isDirectiveDisabled
(String p_166477_, Matcher p_166478_, int p_166479_) private static boolean
isDirectiveEnabled
(String p_166474_, Matcher p_166475_) processImports
(String p_166470_, GlslPreprocessor.Context p_166471_, String p_166472_) private String
processVersions
(String p_166467_, GlslPreprocessor.Context p_166468_) private String
setVersion
(String p_166464_, int p_166465_)
-
Field Details
-
C_COMMENT
- See Also:
-
LINE_COMMENT
- See Also:
-
REGEX_MOJ_IMPORT
-
REGEX_VERSION
-
REGEX_ENDS_WITH_WHITESPACE
-
-
Constructor Details
-
GlslPreprocessor
public GlslPreprocessor()
-
-
Method Details
-
process
-
processImports
private List<String> processImports(String p_166470_, GlslPreprocessor.Context p_166471_, String p_166472_) -
processVersions
-
setVersion
-
isDirectiveEnabled
-
isDirectiveDisabled
-
applyImport
-