Struct InlineArray16<T>
Blittable配列型
Inherited Members
Namespace: CriWare.InteropHelpers
Assembly: CriWare.CriBase.dll
Syntax
public struct InlineArray16<T> where T : unmanagedType Parameters
| Name | Description | 
|---|---|
| T | 配列の要素の型 | 
Remarks
ネイティブ層と同じメモリレイアウトの配列型です。 CRIWAREのAPIに受け渡す構造体のフィールドとして利用されます。
Properties
this[int]
配列内の要素の取得
Declaration
public T this[int index] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| int | index | 要素インデックス | 
Property Value
| Type | Description | 
|---|---|
| T | インデックスに対応する配列内の要素 | 
Operators
implicit operator Span<T>(InlineArray16<T>)
Span<T>へのキャスト
Declaration
public static implicit operator Span<T>(InlineArray16<T> array)Parameters
| Type | Name | Description | 
|---|---|---|
| InlineArray16<T> | array | 
Returns
| Type | Description | 
|---|---|
| Span<T> |