Enum BlendOp | Project Tiny | 0.31.0-preview.24
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 06 November 2020