Table of Contents

Class MaterialHairDiscardFunctionTransparentPass

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll
[DataContract("MaterialHairDiscardFunctionTransparentPass")]
[Display("MaterialHairDiscardFunctionTransparentPass", null)]
public class MaterialHairDiscardFunctionTransparentPass : IMaterialHairDiscardFunction
Inheritance
MaterialHairDiscardFunctionTransparentPass
Implements

Methods

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.

Generate(MaterialGeneratorContext, ValueParameterKey<float>)

Generates the shader class source used for the shader composition.

public ShaderSource Generate(MaterialGeneratorContext context, ValueParameterKey<float> uniqueAlphaThresholdKey)

Parameters

context MaterialGeneratorContext
uniqueAlphaThresholdKey ValueParameterKey<float>

Returns

ShaderSource

ShaderSource.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.