IsBlittable
Gets whether a struct is blittable.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
IsBlittable<T>()
Gets whether a struct is blittable.
public static bool IsBlittable<T>() where T : struct
Returns
Type | Description |
|---|---|
| bool | True if struct is blittable, otherwise false. |
IsBlittable(Type)
Gets whether a struct is blittable.
public static bool IsBlittable(Type type)
Parameters
The of a struct.
System.TypeReturns
Type | Description |
|---|---|
| bool | True if struct is blittable, otherwise false. |