Package foundry.veil.api.resource.type
Interface VeilShaderResource<T extends VeilShaderResource<?>>
- All Superinterfaces:
VeilResource<T>,VeilTextResource<T>
- All Known Implementing Classes:
VanillaShaderFileResource,VeilShaderDefinitionResource,VeilShaderFileResource,VeilShaderIncludeResource
@Internal
public interface VeilShaderResource<T extends VeilShaderResource<?>>
extends VeilTextResource<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault intGets the icon code for this resource (ex.default @Nullable imgui.extension.texteditor.TextEditorLanguageDefinitionMethods inherited from interface foundry.veil.api.resource.VeilResource
canHotReload, copyToResources, getActions, hotReload, onFileSystemChange, render, resourceInfo
-
Method Details
-
getIconCode
default int getIconCode()Description copied from interface:VeilResourceGets the icon code for this resource (ex. 0xED0F)- Specified by:
getIconCodein interfaceVeilResource<T extends VeilShaderResource<?>>
-
languageDefinition
@Nullable default @Nullable imgui.extension.texteditor.TextEditorLanguageDefinition languageDefinition()- Specified by:
languageDefinitionin interfaceVeilTextResource<T extends VeilShaderResource<?>>
-