Skip to content

Struct FrameAllocation

Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll

Space in a frame's upload arena: an address for shaders and memory for the CPU to fill.

public readonly struct FrameAllocation

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Address

The GPU address of the first byte: put it in push constants.

public ulong Address { get; }

Property Value

ulong

Memory

public byte* Memory { get; }

Property Value

byte*

Size

public int Size { get; }

Property Value

int

Span

public Span<byte> Span { get; }

Property Value

Span<byte>