RenderTargetBlendState(ColorWriteMask, BlendMode, BlendMode, BlendMode, BlendMode, BlendOp, BlendOp)
Creates a new blend state with the given values.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Constructor
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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.
Blend factor used for the color (RGB) channel of the source.
Blend factor used for the color (RGB) channel of the destination.
Blend factor used for the alpha (A) channel of the source.
Blend factor used for the alpha (A) channel of the destination.
Operation used for blending the color (RGB) channel.
Operation used for blending the alpha (A) channel.