ドキュメント

Unity Engine

Unity Engine

RenderTargetBlendState(ColorWriteMask, BlendMode, BlendMode, BlendMode, BlendMode, BlendOp, BlendOp)

Creates a new blend state with the given values.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public RenderTargetBlendState(ColorWriteMask writeMask = ColorWriteMask.All, BlendMode sourceColorBlendMode = BlendMode.One, BlendMode destinationColorBlendMode = BlendMode.Zero, BlendMode sourceAlphaBlendMode = BlendMode.One, BlendMode destinationAlphaBlendMode = BlendMode.Zero, BlendOp colorBlendOperation = BlendOp.Add, BlendOp alphaBlendOperation = BlendOp.Add)

Parameters

Specifies which color components will get written into the target framebuffer.

sourceColorBlendMode

Blend factor used for the color (RGB) channel of the source.

destinationColorBlendMode

Blend factor used for the color (RGB) channel of the destination.

sourceAlphaBlendMode

Blend factor used for the alpha (A) channel of the source.

destinationAlphaBlendMode

Blend factor used for the alpha (A) channel of the destination.

colorBlendOperation

Operation used for blending the color (RGB) channel.

alphaBlendOperation

Operation used for blending the alpha (A) channel.