Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    SwizzleMode Enum

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    Specify how to swizzle a vector.

    public enum SwizzleMode

    Fields

    Name Description
    None

    Take the vector as is.

    NormalMap

    Reconstructs the Z(B) component from R and G.

    RRR1

    Take the only the red component of the vector, but keeps the object opaque

    RRRR

    Take the only the red component of the vector.

    XXXX

    Take the only the x component of the vector.

    Extension Methods

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

    Back to top

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