Table of Contents

Class MaterialDiffuseLambertModelFeature

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll

The diffuse Lambertian for the diffuse material model attribute.

[DataContract("MaterialDiffuseLambertModelFeature")]
[Display("Lambert", null)]
public class MaterialDiffuseLambertModelFeature : MaterialFeature, IEnergyConservativeDiffuseModelFeature, IMaterialDiffuseModelFeature, IMaterialShadingModelFeature, IMaterialFeature, IMaterialShaderGenerator, IEquatable<IMaterialShadingModelFeature>
Inheritance
MaterialDiffuseLambertModelFeature
Implements
Inherited Members

Methods

Equals(IMaterialShadingModelFeature)

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

public bool Equals(IMaterialShadingModelFeature other)

Parameters

other IMaterialShadingModelFeature

An object to compare with this object.

Returns

bool

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

Equals(MaterialDiffuseLambertModelFeature)

public bool Equals(MaterialDiffuseLambertModelFeature other)

Parameters

other MaterialDiffuseLambertModelFeature

Returns

bool

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.

GenerateShader(MaterialGeneratorContext)

Generates the shader for the feature.

public override void GenerateShader(MaterialGeneratorContext context)

Parameters

context MaterialGeneratorContext

The context.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.