Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ColorChannel Enum

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

    A RGBA channel selected when performing texture sampling.

    [DataContract("ColorChannel")]
    public enum ColorChannel

    Fields

    Name Description
    A

    The sampled color is returned as a float4(A, A, A, A)

    B

    The sampled color is returned as a float4(B, B, B, B)

    G

    The sampled color is returned as a float4(G, G, G, G)

    R

    The sampled color is returned as a float4(R, R, R, R)

    Extension Methods

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

    Back to top

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