Table of Contents

Struct DispatchParameters

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents parameters used when launching compute shader work groups.

[TypeConverter(typeof(NumericRecordConverter))]
public struct DispatchParameters : IEquatable<DispatchParameters>
Implements
Inherited Members

Constructors

DispatchParameters(int, int, int)

Initializes a new instance of the DispatchParameters structure using the specified number of compute work groups.

Fields

NumGroupsX

The number of work groups to be launched in the X dimension.

NumGroupsY

The number of work groups to be launched in the Y dimension.

NumGroupsZ

The number of work groups to be launched in the Z dimension.

Methods

Equals(DispatchParameters)

Returns a value indicating whether this instance is equal to the specified DispatchParameters structure.

Equals(object)

Returns a value indicating whether the specified object is a DispatchParameters structure with the same parameter values as this instance.

GetHashCode()

Returns the hash code for this instance.

ToString()

Creates a string representation of this DispatchParameters structure.

Operators

operator ==(DispatchParameters, DispatchParameters)

Indicates whether two DispatchParameters structures are equal.

operator !=(DispatchParameters, DispatchParameters)

Indicates whether two DispatchParameters structures are different.