Struct AssetHandler
Structure containing an asset handler - typically used by implementation projects knowing how to decode an asset of a given type using a serialization format (e.g. a stream or a memory location) defined by the platform.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Fusee.Base.Common
Assembly: Fusee.Base.Common.dll
Syntax
public struct AssetHandler
Fields
Checker
A method delivering a boolean value if an asset with the given id will be handled by the decoder.
Declaration
public AssetChecker Checker
Field Value
Type | Description |
---|---|
AssetChecker |
Decoder
A method capable of decoding an asset into the returned type from the opaque storage.
Declaration
public AssetDecoder Decoder
Field Value
Type | Description |
---|---|
AssetDecoder |
DecoderAsync
A method capable of decoding an asset into the returned type from the opaque storage.
Declaration
public AssetDecoderAsync DecoderAsync
Field Value
Type | Description |
---|---|
AssetDecoderAsync |
ReturnedType
The type of asset returned by the decoder
Declaration
public Type ReturnedType
Field Value
Type | Description |
---|---|
System.Type |