Package ke.ric.renderer.api
Interface AssetHandle
- All Superinterfaces:
AutoCloseable
A client-owned registration for one immutable asset pack.
The content hash can be placed in a RenderJob. Closing the handle releases the
registration after in-flight users finish; closing it more than once has no additional effect.
-
Method Details
-
contentHash
String contentHash()Returns the stable content hash used to select this pack in a render job. -
active
boolean active()Returns whether this registration can still be selected by its owning client. -
close
void close()Releases this registration.- Specified by:
closein interfaceAutoCloseable
-