Package foundry.veil.api.resource.type
Interface VeilTextResource<T extends VeilTextResource<?>>
- All Superinterfaces:
VeilResource<T>
- All Known Subinterfaces:
VeilShaderResource<T>
- All Known Implementing Classes:
BlockModelResource,FlareResource,FramebufferResource,LanguageResource,PostPipelineResource,RenderTypeResource,ShellResource,TextResource,VanillaShaderFileResource,VeilShaderDefinitionResource,VeilShaderFileResource,VeilShaderIncludeResource
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable imgui.extension.texteditor.TextEditorLanguageMethods inherited from interface foundry.veil.api.resource.VeilResource
canHotReload, copyToResources, getActions, getIconCode, hotReload, onFileSystemChange, render, resourceInfo
-
Method Details
-
languageDefinition
@Nullable default @Nullable imgui.extension.texteditor.TextEditorLanguage languageDefinition()- Returns:
- The text language definition for this resource or
nullto disable syntax highlighting - Since:
- 4.3.0
-