Package ke.ric.renderer.api
Class AssetPack
java.lang.Object
ke.ric.renderer.api.AssetPack
Caller-supplied asset archive bytes and their diagnostic identifier.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AssetPack
Creates a pack, defensively copying its archive bytes.
-
-
Method Details
-
id
Returns the caller-defined identifier used in diagnostics. -
size
public int size()Returns the archive size in bytes. -
bytes
public byte[] bytes()Returns a defensive copy of the archive bytes.
-