Table of Contents

Class ShaderMixinGeneratorSource

Namespace
Stride.Shaders
Assembly
Stride.Shaders.dll

A shader source that is linked to a sdfx effect.

[DataContract("ShaderMixinGeneratorSource")]
public sealed class ShaderMixinGeneratorSource : ShaderSource, IEquatable<ShaderMixinGeneratorSource>
Inheritance
ShaderMixinGeneratorSource
Implements
Inherited Members

Constructors

ShaderMixinGeneratorSource()

Initializes a new instance of the ShaderMixinGeneratorSource class.

public ShaderMixinGeneratorSource()

ShaderMixinGeneratorSource(string)

Initializes a new instance of the ShaderMixinGeneratorSource class.

public ShaderMixinGeneratorSource(string name)

Parameters

name string

The name of the sdfx effect.

Properties

Name

Gets or sets the name of the sdfx effect.

public string Name { get; set; }

Property Value

string

The name of the sdfx effect.

Methods

Clone()

Deep clones this instance.

public override object Clone()

Returns

object

A new instance.

Equals(ShaderMixinGeneratorSource)

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

public bool Equals(ShaderMixinGeneratorSource other)

Parameters

other ShaderMixinGeneratorSource

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 this instance.

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

operator ==(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)

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

Parameters

left ShaderMixinGeneratorSource
right ShaderMixinGeneratorSource

Returns

bool

operator !=(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)

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

Parameters

left ShaderMixinGeneratorSource
right ShaderMixinGeneratorSource

Returns

bool