MaterialHairDiscardFunctionTransparentPass Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
System.Object →
MaterialHairDiscardFunctionTransparentPass
Derived from MaterialHairDiscardFunctionTransparentPass:
[DataContract("MaterialHairDiscardFunctionTransparentPass")]
[Display("MaterialHairDiscardFunctionTransparentPass", null)]
public class MaterialHairDiscardFunctionTransparentPass : IMaterialHairDiscardFunction
| Name | Description | |
|---|---|---|
| Methods | ||
| Equals(Object) | ||
| Generate(MaterialGeneratorContext, ValueParameterKey<Single>) | ||
| GetHashCode() | ||
Methods
Equals(Object)
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
System.Object.Equals(System.Object)
Generate(MaterialGeneratorContext, ValueParameterKey<Single>)
public ShaderSource Generate(MaterialGeneratorContext context, ValueParameterKey<float> uniqueAlphaThresholdKey)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialGeneratorContext | context | |
| ValueParameterKey<System.Single> | uniqueAlphaThresholdKey |
Returns
| Type | Description |
|---|---|
| ShaderSource |
GetHashCode()
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
System.Object.GetHashCode()