Struct BlobAssetReference<T>
Syntax
public struct BlobAssetReference<T> : IDisposable, IEquatable<BlobAssetReference<T>> where T : struct
Type Parameters
Properties
IsCreated
Declaration
public bool IsCreated { get; }
Property Value
Type |
Description |
System.Boolean |
|
Null
Declaration
public static BlobAssetReference<T> Null { get; }
Property Value
Value
Declaration
Property Value
Methods
Create(T)
Declaration
public static BlobAssetReference<T> Create(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Create(Byte[])
Declaration
public static BlobAssetReference<T> Create(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Returns
Create(Void*, Int32)
Declaration
public static BlobAssetReference<T> Create(void *ptr, int length)
Parameters
Type |
Name |
Description |
System.Void* |
ptr |
|
System.Int32 |
length |
|
Returns
Dispose()
Declaration
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(BlobAssetReference<T>)
Declaration
public bool Equals(BlobAssetReference<T> other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
GetUnsafePtr()
Declaration
public void *GetUnsafePtr()
Returns
Type |
Description |
System.Void* |
|
Release()
Declaration
Operators
Equality(BlobAssetReference<T>, BlobAssetReference<T>)
Declaration
public static bool operator ==(BlobAssetReference<T> lhs, BlobAssetReference<T> rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(BlobAssetReference<T>, BlobAssetReference<T>)
Declaration
public static bool operator !=(BlobAssetReference<T> lhs, BlobAssetReference<T> rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|