Package foundry.veil.api.resource.editor
Class FramebufferFileEditor
java.lang.Object
foundry.veil.api.resource.editor.FramebufferFileEditor
- All Implemented Interfaces:
ResourceFileEditor<FramebufferResource>
,Closeable
,AutoCloseable
public class FramebufferFileEditor
extends Object
implements ResourceFileEditor<FramebufferResource>
-
Nested Class Summary
Nested classes/interfaces inherited from interface foundry.veil.api.resource.editor.ResourceFileEditor
ResourceFileEditor.Factory<T extends VeilResource<?>>
-
Constructor Summary
ConstructorDescriptionFramebufferFileEditor
(VeilEditorEnvironment environment, FramebufferResource resource) -
Method Summary
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.resource.editor.ResourceFileEditor
close, save, save
-
Constructor Details
-
FramebufferFileEditor
-
-
Method Details
-
render
public void render()Description copied from interface:ResourceFileEditor
Renders this editor to the screen.- Specified by:
render
in interfaceResourceFileEditor<FramebufferResource>
-
loadFromDisk
public void loadFromDisk()Description copied from interface:ResourceFileEditor
Called to update the editor status from disk.- Specified by:
loadFromDisk
in interfaceResourceFileEditor<FramebufferResource>
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceResourceFileEditor<FramebufferResource>
- Returns:
- Whether this editor is closed
-
getResource
- Specified by:
getResource
in interfaceResourceFileEditor<FramebufferResource>
- Returns:
- The resource being edited
-