Enum BlendOp | Project Tiny | 0.32.0-preview.54
docs.unity.cn
    Show / Hide Table of Contents

    Enum BlendOp

    Blending operation when drawing

    Namespace: Unity.Tiny
    Syntax
    public enum BlendOp

    Fields

    Name Description Value
    Alpha

    Default. Normal alpha blending.

    0
    Add

    Additive blending. Only brightens colors. Black is neutral and has no effect..

    1
    Multiply

    Multiplicative blending. Only darken colors. White is neutral and has no effect.

    2
    MultiplyAlpha

    Multiplies the target by the source alpha. Only the source alpha channel is used. Drawing using this mode is useful when rendering to a textures to mask borders.

    3
    Disabled

    Do not perform any blending.

    4
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021