Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    MaterialAssetKeys Class

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

    Defines keys associated with mesh used for compiling assets.

    System.Object → MaterialAssetKeys
    Derived from MaterialAssetKeys:

    public sealed class MaterialAssetKeys
    Name Description
    Fields
    GenerateShader

    Allow material compilation without mesh.

    UseParameters

    When compiling effect with an EffectLibraryAsset (sdfxlib), set it to true to allow permutation based on the parameters of all materials.

    | Improve this Doc View Source

    Fields


    GenerateShader

    Allow material compilation without mesh.

    public static readonly ValueParameterKey<bool> GenerateShader
    Field Value
    Type Description
    ValueParameterKey<System.Boolean>

    UseParameters

    When compiling effect with an EffectLibraryAsset (sdfxlib), set it to true to allow permutation based on the parameters of all materials.

    public static readonly ValueParameterKey<bool> UseParameters
    Field Value
    Type Description
    ValueParameterKey<System.Boolean>

    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