iOS Guides | Samples

OpenTK.BlittableValueType Class

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

See Also: BlittableValueType

Syntax

public static class BlittableValueType

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.

Requirements

Namespace: OpenTK
Assembly: OpenTK-1.0 (in OpenTK-1.0.dll)
Assembly Versions: 0.0.0.0

The members of OpenTK.BlittableValueType are listed below.

See Also: Object

Public Methods

static
Check<T>(T) : Boolean
Checks whether type is a blittable value type.
static
Check<T>(T[,,]) : Boolean
Checks whether type is a blittable value type.
static
Check<T>(T[,]) : Boolean
Checks whether type is a blittable value type.
static
Check<T>(T[]) : Boolean
Checks whether type is a blittable value type.
static
Check<T>(T[][]) : Boolean
Checks whether type is a blittable value type.
static
StrideOf<T>(T) : Int32
Returns the size of the specified value type in bytes.
static
StrideOf<T>(T[,,]) : Int32
Returns the size of a single array element in bytes.
static
StrideOf<T>(T[,]) : Int32
Returns the size of a single array element in bytes.
static
StrideOf<T>(T[]) : Int32
Returns the size of a single array element in bytes.