Skip to content

Struct DispatchIndirectCommand

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

The arguments of one indirect dispatch, as reads them from a buffer (a compute shader can write them). Twelve bytes.

public readonly record struct DispatchIndirectCommand : IEquatable<DispatchIndirectCommand>

Implements

IEquatable<DispatchIndirectCommand>

Inherited Members

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

Constructors

DispatchIndirectCommand(uint, uint, uint)

The arguments of one indirect dispatch, as reads them from a buffer (a compute shader can write them). Twelve bytes.

public DispatchIndirectCommand(uint GroupsX, uint GroupsY, uint GroupsZ)

Parameters

GroupsX uint

GroupsY uint

GroupsZ uint

Fields

Size

The size of one command in a buffer.

public const uint Size = 12

Field Value

uint

Properties

GroupsX

public uint GroupsX { get; init; }

Property Value

uint

GroupsY

public uint GroupsY { get; init; }

Property Value

uint

GroupsZ

public uint GroupsZ { get; init; }

Property Value

uint