Class ShaderUniformCache
java.lang.Object
foundry.veil.impl.client.render.shader.program.ShaderUniformCache
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
static final record
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
static String
getName
(int type) @Nullable ShaderUniformCache.StorageBlock
getStorageBlock
(String name) @Nullable ShaderUniformCache.Uniform
getUniform
(CharSequence name) @Nullable ShaderUniformCache.UniformBlock
getUniformBlock
(String name) boolean
hasSampler
(String name) boolean
hasStorageBlock
(String name) boolean
hasUniform
(String name) boolean
hasUniformBlock
(String name) static boolean
isSampler
(int type)
-
Constructor Details
-
ShaderUniformCache
-
-
Method Details
-
clear
public void clear() -
getUniform
-
hasUniform
-
getUniformBlock
-
hasUniformBlock
-
getStorageBlock
-
hasStorageBlock
-
hasSampler
-
getSamplers
-
getUniforms
-
getUniformBlocks
-
getStorageBlocks
-
isSampler
public static boolean isSampler(int type) -
getName
-