Skip to main content

Struct ConstantBufferPointer<TContents>

A helper to manipulate a constant buffer that holds contents of a known type.

Assembly: FFXIVClientStructs.dll
View Source
Declaration
public readonly struct ConstantBufferPointer<TContents> where TContents : unmanaged

Properties

Length

View Source
Declaration
public int Length { get; }

Fields

CBuffer

View Source
Declaration
public readonly ConstantBuffer* CBuffer

Methods

TryGetBuffer()

View Source
Declaration
public Span<TContents> TryGetBuffer()
Returns

System.Span<<TContents>>

LoadBuffer(int, int, byte)

View Source
Declaration
public Span<TContents> LoadBuffer(int offset, int length, byte flags = 2)
Returns

System.Span<<TContents>>

Parameters
TypeName
System.Int32offset
System.Int32length
System.Byteflags