MaterialDiffuseMapFeature Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
A Diffuse map for the diffuse material feature.
Derived from MaterialDiffuseMapFeature:
[DataContract("MaterialDiffuseMapFeature")]
[Display("Diffuse Map", null)]
public class MaterialDiffuseMapFeature : MaterialFeature, IMaterialDiffuseFeature, IMaterialFeature, IMaterialShaderGenerator, IMaterialStreamProvider
Name | Description | |
---|---|---|
Constructors | ||
MaterialDiffuseMapFeature() | Initializes a new instance of the MaterialDiffuseMapFeature class. |
|
MaterialDiffuseMapFeature(IComputeColor) | Initializes a new instance of the MaterialDiffuseMapFeature class. |
|
Fields | ||
ColorBaseStream | ||
DiffuseStream | ||
Properties | ||
DiffuseMap | Gets or sets the diffuse map. |
|
Methods | ||
GenerateShader(MaterialGeneratorContext) | ||
GetStreams() |
Constructors
MaterialDiffuseMapFeature()
Initializes a new instance of the MaterialDiffuseMapFeature class.
public MaterialDiffuseMapFeature()
MaterialDiffuseMapFeature(IComputeColor)
Initializes a new instance of the MaterialDiffuseMapFeature class.
public MaterialDiffuseMapFeature(IComputeColor diffuseMap)
Parameters
Type | Name | Description |
---|---|---|
IComputeColor | diffuseMap | The diffuse map. |
Fields
ColorBaseStream
public static readonly MaterialStreamDescriptor ColorBaseStream
Field Value
Type | Description |
---|---|
MaterialStreamDescriptor |
DiffuseStream
public static readonly MaterialStreamDescriptor DiffuseStream
Field Value
Type | Description |
---|---|
MaterialStreamDescriptor |
Properties
DiffuseMap
Gets or sets the diffuse map.
[Display("Diffuse Map", null)]
public IComputeColor DiffuseMap { get; set; }
Property Value
Type | Description |
---|---|
IComputeColor | The diffuse map. |
Methods
GenerateShader(MaterialGeneratorContext)
public override void GenerateShader(MaterialGeneratorContext context)
Parameters
Type | Name | Description |
---|---|---|
MaterialGeneratorContext | context |
Overrides
GetStreams()
public IEnumerable<MaterialStreamDescriptor> GetStreams()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<MaterialStreamDescriptor> |