Struct InlineArray4<T>
Blittable配列型
Inherited Members
Namespace: CriWare.InteropHelpers
Assembly: CriWare.CriBase.dll
Syntax
public struct InlineArray4<T> where T : unmanaged
Type 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>(InlineArray4<T>)
Span<T>へのキャスト
Declaration
public static implicit operator Span<T>(InlineArray4<T> array)
Parameters
| Type | Name | Description |
|---|---|---|
| InlineArray4<T> | array |
Returns
| Type | Description |
|---|---|
| Span<T> |