search API (or start typing anywhere)
AssetBytes
snow.types.AssetBytes defined in snow.types.Types
typedef alias of snow.systems.assets.AssetBytes
Properties
bytes
bytes : snow.api.buffers.Uint8ArrayMethods
destroy
destroy() : Voidloadstatic
load(_system:snow.systems.assets.Assets, _id:String) : snow.api.PromiseCreate a new AssetBytes from an id, which returns a promise for the asset. new
new(_system:snow.systems.assets.Assets, _id:String, _bytes:snow.api.buffers.Uint8Array) : Voidreload
reload() : snow.api.PromiseReloads the bytes from it’s stored id, using the default processor, returning a promise for the asset.
