Package foundry.veil.api.compat
Interface IrisCompat
public interface IrisCompat
Veil iris compat implementation.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @Nullable IrisCompat
Retrieves the compat instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Set
<net.minecraft.client.renderer.ShaderInstance> void
Recompiles iris shaders from source.
-
Field Details
-
INSTANCE
Retrieves the compat instance. This will benull
if iris is not installed.
-
-
Method Details
-
getLoadedShaders
Set<net.minecraft.client.renderer.ShaderInstance> getLoadedShaders()- Returns:
- All loaded shaders created by Iris
-
getRenderTargets
Map<String,IrisRenderTargetExtension> getRenderTargets()- Returns:
- A mapping of all iris GBuffers by name
-
areShadersLoaded
boolean areShadersLoaded()- Returns:
- Whether shaders are currently being used
-
recompile
@Experimental void recompile()Recompiles iris shaders from source.
-