BlittableValueType BlittableValueType Class

Definition

Checks whether the specified type parameter is a blittable value type.

public static class BlittableValueType
type BlittableValueType = class
Inheritance
BlittableValueTypeBlittableValueType

Remarks

A blittable value type is a struct that only references other value types recursively,

which allows it to be passed to unmanaged code directly.

Methods

Check<T>(T) Check<T>(T)

Checks whether type is a blittable value type.

Check<T>(T[,,]) Check<T>(T[,,])

Checks whether type is a blittable value type.

Check<T>(T[,]) Check<T>(T[,])

Checks whether type is a blittable value type.

Check<T>(T[]) Check<T>(T[])

Checks whether type is a blittable value type.

Check<T>(T[][]) Check<T>(T[][])

Checks whether type is a blittable value type.

StrideOf<T>(T) StrideOf<T>(T)

Returns the size of the specified value type in bytes.

StrideOf<T>(T[,,]) StrideOf<T>(T[,,])

Returns the size of a single array element in bytes.

StrideOf<T>(T[,]) StrideOf<T>(T[,])

Returns the size of a single array element in bytes.

StrideOf<T>(T[]) StrideOf<T>(T[])

Returns the size of a single array element in bytes.

Applies to