Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ShadingModelShaderBuilder Class

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

    Helper class to build the ShaderSource for the shading model of a IMaterialShadingModelFeature.

    System.Object → ShadingModelShaderBuilder
    Derived from ShadingModelShaderBuilder:

    public class ShadingModelShaderBuilder
    Name Description
    Properties
    LightDependentExtraModels

    Shaders that needs to be mixed on top of MaterialSurfaceLightingAndShading.

    LightDependentSurface
    ShaderSources
    | Improve this Doc View Source

    Properties


    LightDependentExtraModels

    Shaders that needs to be mixed on top of MaterialSurfaceLightingAndShading.

    public List<ShaderClassSource> LightDependentExtraModels { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ShaderClassSource>

    LightDependentSurface

    public ShaderSource LightDependentSurface { get; set; }
    Property Value
    Type Description
    ShaderSource

    ShaderSources

    public List<ShaderSource> ShaderSources { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ShaderSource>

    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