Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    EffectSourceCodeKeys Class

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

    Keys used for sourcecode generation.

    System.Object → EffectSourceCodeKeys
    Derived from EffectSourceCodeKeys:

    public static class EffectSourceCodeKeys
    Name Description
    Fields
    ClassDeclaration

    The class modifier declaration (Default: "public partial")

    ClassName

    The classname used for the (Default: name of the effect).

    Enable

    When compiling a sdsl, this will generate a source code file

    FieldDeclaration

    The field declaration (default: "private")

    FieldName

    The field name (default: "binaryBytecode")

    Namespace

    The namespace used for the declaration.

    | Improve this Doc View Source

    Fields


    ClassDeclaration

    The class modifier declaration (Default: "public partial")

    public static readonly ObjectParameterKey<string> ClassDeclaration
    Field Value
    Type Description
    ObjectParameterKey<System.String>

    ClassName

    The classname used for the (Default: name of the effect).

    public static readonly ObjectParameterKey<string> ClassName
    Field Value
    Type Description
    ObjectParameterKey<System.String>

    Enable

    When compiling a sdsl, this will generate a source code file

    public static readonly ObjectParameterKey<bool> Enable
    Field Value
    Type Description
    ObjectParameterKey<System.Boolean>

    FieldDeclaration

    The field declaration (default: "private")

    public static readonly ObjectParameterKey<string> FieldDeclaration
    Field Value
    Type Description
    ObjectParameterKey<System.String>

    FieldName

    The field name (default: "binaryBytecode")

    public static readonly ObjectParameterKey<string> FieldName
    Field Value
    Type Description
    ObjectParameterKey<System.String>

    Namespace

    The namespace used for the declaration.

    public static readonly ObjectParameterKey<string> Namespace
    Field Value
    Type Description
    ObjectParameterKey<System.String>

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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