Table of Contents

Class EffectCompileRequest

Namespace
Stride.Shaders.Compiler
Assembly
Stride.Rendering.dll

Represents an effect compile request done to the EffectSystem.

[DataContract("EffectCompileRequest")]
[DataSerializerGlobal(null, typeof(KeyValuePair<EffectCompileRequest, bool>), DataSerializerGenericMode.None, false, false)]
public class EffectCompileRequest : IEquatable<EffectCompileRequest>
Inheritance
EffectCompileRequest
Implements

Constructors

EffectCompileRequest()

public EffectCompileRequest()

EffectCompileRequest(string, CompilerParameters)

public EffectCompileRequest(string effectName, CompilerParameters usedParameters)

Parameters

effectName string
usedParameters CompilerParameters

Fields

EffectName

public string EffectName

Field Value

string

UsedParameters

public CompilerParameters UsedParameters

Field Value

CompilerParameters

Methods

Equals(EffectCompileRequest)

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

public bool Equals(EffectCompileRequest other)

Parameters

other EffectCompileRequest

An object to compare with this object.

Returns

bool

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

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.