Table of Contents

Struct Accessor

Namespace
ReFuel.IO.Model
Assembly
ReFuel.dll
public struct Accessor
Inherited Members

Fields

BufferIndex

public readonly int BufferIndex

Field Value

int

Format

public readonly VertexAttribute Format

Field Value

VertexAttribute

Index

public readonly int Index

Field Value

int

Type

public readonly AccessorType Type

Field Value

AccessorType

Methods

Get1f(ReadOnlySpan<byte>, int)

public float Get1f(ReadOnlySpan<byte> buffer, int element)

Parameters

buffer ReadOnlySpan<byte>
element int

Returns

float

Get1i(ReadOnlySpan<byte>, int)

public int Get1i(ReadOnlySpan<byte> buffer, int element)

Parameters

buffer ReadOnlySpan<byte>
element int

Returns

int

Get2f(ReadOnlySpan<byte>, int)

public Vector2 Get2f(ReadOnlySpan<byte> buffer, int element)

Parameters

buffer ReadOnlySpan<byte>
element int

Returns

Vector2

Get3f(ReadOnlySpan<byte>, int)

public Vector3 Get3f(ReadOnlySpan<byte> buffer, int element)

Parameters

buffer ReadOnlySpan<byte>
element int

Returns

Vector3

Get4f(ReadOnlySpan<byte>, int)

public Vector4 Get4f(ReadOnlySpan<byte> buffer, int element)

Parameters

buffer ReadOnlySpan<byte>
element int

Returns

Vector4