Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    EffectCompilerParameters Struct

    Namespace: Stride.Shaders.Compiler
    Assembly: Stride.Shaders.dll

    [DataContract]
    public struct EffectCompilerParameters
    Name Description
    Fields
    Default
    Properties
    Debug
    OptimizationLevel
    Platform
    Profile
    TaskPriority

    Gets or sets the priority (in case this compile is scheduled in a custom async pool)

    Methods
    ApplyCompilationMode(CompilationMode)
    | Improve this Doc View Source

    Fields


    Default

    public static readonly EffectCompilerParameters Default
    Field Value
    Type Description
    EffectCompilerParameters
    | Improve this Doc View Source

    Properties


    Debug

    public bool Debug { get; set; }
    Property Value
    Type Description
    System.Boolean

    OptimizationLevel

    public int OptimizationLevel { get; set; }
    Property Value
    Type Description
    System.Int32

    Platform

    public GraphicsPlatform Platform { get; set; }
    Property Value
    Type Description
    GraphicsPlatform

    Profile

    public GraphicsProfile Profile { get; set; }
    Property Value
    Type Description
    GraphicsProfile

    TaskPriority

    Gets or sets the priority (in case this compile is scheduled in a custom async pool)

    public int TaskPriority { get; set; }
    Property Value
    Type Description
    System.Int32

    The priority.

    | Improve this Doc View Source

    Methods


    ApplyCompilationMode(CompilationMode)

    public void ApplyCompilationMode(CompilationMode compilationMode)
    Parameters
    Type Name Description
    CompilationMode compilationMode

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    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