Table of Contents

Struct ParameterKeyInfo

Namespace
Stride.Rendering
Assembly
Stride.dll
[DataContract]
public struct ParameterKeyInfo : IEquatable<ParameterKeyInfo>
Implements
Extension Methods

Constructors

ParameterKeyInfo(ParameterKey, int)

public ParameterKeyInfo(ParameterKey key, int bindingSlot)

Parameters

key ParameterKey
bindingSlot int

ParameterKeyInfo(ParameterKey, int, int)

public ParameterKeyInfo(ParameterKey key, int offset, int count)

Parameters

key ParameterKey
offset int
count int

Fields

BindingSlot

public int BindingSlot

Field Value

int

Count

public int Count

Field Value

int

Invalid

public const int Invalid = -1

Field Value

int

Key

public ParameterKey Key

Field Value

ParameterKey

Offset

public int Offset

Field Value

int

Properties

IsResourceParameter

public readonly bool IsResourceParameter { get; }

Property Value

bool

IsValueParameter

public readonly bool IsValueParameter { get; }

Property Value

bool

Methods

Equals(ParameterKeyInfo)

Indicates whether the current object is equal to another object of the same type.

public readonly bool Equals(ParameterKeyInfo other)

Parameters

other ParameterKeyInfo

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override readonly bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override readonly int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

public override readonly string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(ParameterKeyInfo, ParameterKeyInfo)

public static bool operator ==(ParameterKeyInfo left, ParameterKeyInfo right)

Parameters

left ParameterKeyInfo
right ParameterKeyInfo

Returns

bool

operator !=(ParameterKeyInfo, ParameterKeyInfo)

public static bool operator !=(ParameterKeyInfo left, ParameterKeyInfo right)

Parameters

left ParameterKeyInfo
right ParameterKeyInfo

Returns

bool