Package foundry.veil.impl.client.editor
Class ShaderInspector
java.lang.Object
foundry.veil.api.client.editor.SingleWindowInspector
foundry.veil.impl.client.editor.ShaderInspector
- All Implemented Interfaces:
Inspector
,AutoCloseable
,net.minecraft.server.packs.resources.PreparableReloadListener
,net.minecraft.server.packs.resources.ResourceManagerReloadListener
,org.lwjgl.system.NativeResource
@Internal
public class ShaderInspector
extends SingleWindowInspector
implements net.minecraft.server.packs.resources.ResourceManagerReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier
-
Field Summary
Fields inherited from class foundry.veil.api.client.editor.SingleWindowInspector
open
Fields inherited from interface foundry.veil.api.client.editor.Inspector
DEFAULT_GROUP, EXAMPLE_GROUP, INFO_GROUP, RENDERER_GROUP, RESOURCE_GROUP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
free()
Frees any resources allocated by this editor before being destroyed.net.minecraft.network.chat.Component
net.minecraft.network.chat.Component
getGroup()
void
onHide()
Called when this editor is no longer open.void
onResourceManagerReload
(@NotNull net.minecraft.server.packs.resources.ResourceManager resourceManager) void
onShow()
Called when this editor is first opened.void
render()
Renders this editor to the screen.protected void
Adds all components inside the window.Methods inherited from class foundry.veil.api.client.editor.SingleWindowInspector
getWindowTitle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface foundry.veil.api.client.editor.Inspector
isEnabled, isMenuBarEnabled, isOpen, renderLast, renderMenuBar
Methods inherited from interface org.lwjgl.system.NativeResource
close
Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
Methods inherited from interface net.minecraft.server.packs.resources.ResourceManagerReloadListener
reload
-
Field Details
-
TITLE
public static final net.minecraft.network.chat.Component TITLE
-
-
Constructor Details
-
ShaderInspector
public ShaderInspector()
-
-
Method Details
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()- Specified by:
getDisplayName
in interfaceInspector
- Returns:
- The visible display name of this editor
-
getGroup
public net.minecraft.network.chat.Component getGroup() -
renderComponents
protected void renderComponents()Description copied from class:SingleWindowInspector
Adds all components inside the window.- Specified by:
renderComponents
in classSingleWindowInspector
-
render
public void render()Description copied from interface:Inspector
Renders this editor to the screen.- Specified by:
render
in interfaceInspector
- Overrides:
render
in classSingleWindowInspector
-
onShow
public void onShow()Description copied from interface:Inspector
Called when this editor is first opened.- Specified by:
onShow
in interfaceInspector
- Overrides:
onShow
in classSingleWindowInspector
-
onHide
public void onHide()Description copied from interface:Inspector
Called when this editor is no longer open. -
free
public void free()Description copied from interface:Inspector
Frees any resources allocated by this editor before being destroyed. -
onResourceManagerReload
public void onResourceManagerReload(@NotNull @NotNull net.minecraft.server.packs.resources.ResourceManager resourceManager) - Specified by:
onResourceManagerReload
in interfacenet.minecraft.server.packs.resources.ResourceManagerReloadListener
-