Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IMaterialDescriptor Interface

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

    Common interface for the description of a material.

    public interface IMaterialDescriptor : IMaterialShaderGenerator
    Name Description
    Properties
    Attributes

    Gets or sets the material attributes.

    Layers

    Gets or sets the material compositor.

    MaterialId

    Gets the material identifier used only internaly to match material instance by id (when cloning an asset for example) to provide an error when defining a material that is recursively referencing itself.

    | Improve this Doc View Source

    Properties


    Attributes

    Gets or sets the material attributes.

    [DataMember(10)]
    [Display("Attributes", null, Expand = ExpandRule.Always)]
    MaterialAttributes Attributes { get; set; }
    Property Value
    Type Description
    MaterialAttributes

    The material attributes.


    Layers

    Gets or sets the material compositor.

    [DataMember(20)]
    MaterialBlendLayers Layers { get; set; }
    Property Value
    Type Description
    MaterialBlendLayers

    The material compositor.


    MaterialId

    Gets the material identifier used only internaly to match material instance by id (when cloning an asset for example) to provide an error when defining a material that is recursively referencing itself.

    AssetId MaterialId { get; }
    Property Value
    Type Description
    AssetId

    The material identifier.


    Inherited Members

    IMaterialShaderGenerator.Visit(MaterialGeneratorContext)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation