# RenderTargetBlendState

> Values for the blend state.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.Rendering](/engine/6000.0/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule
* **Implements:** [IEquatable\<RenderTargetBlendState>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct RenderTargetBlendState : IEquatable<RenderTargetBlendState>
```

## Remarks

Additional Resources: [RenderStateBlock](/engine/6000.0/script-reference/unityengine/rendering/renderstateblock.md), ShaderLab: Blending.

## Constructors

| Constructor                                                                                                                                                                                                                                                                                                                                      | Description                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------ |
| [RenderTargetBlendState(UnityEngine.Rendering.ColorWriteMask,UnityEngine.Rendering.BlendMode,UnityEngine.Rendering.BlendMode,UnityEngine.Rendering.BlendMode,UnityEngine.Rendering.BlendMode,UnityEngine.Rendering.BlendOp,UnityEngine.Rendering.BlendOp)](/engine/6000.0/script-reference/unityengine/rendering/rendertargetblendstate/ctor.md) | Creates a new blend state with the given values. |

## Properties

| Property                                                                                                                               | Description                                                                    |
| -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| [alphaBlendOperation](/engine/6000.0/script-reference/unityengine/rendering/rendertargetblendstate/alphablendoperation.md)             | Operation used for blending the alpha (A) channel.                             |
| [colorBlendOperation](/engine/6000.0/script-reference/unityengine/rendering/rendertargetblendstate/colorblendoperation.md)             | Operation used for blending the color (RGB) channel.                           |
| [destinationAlphaBlendMode](/engine/6000.0/script-reference/unityengine/rendering/rendertargetblendstate/destinationalphablendmode.md) | Blend factor used for the alpha (A) channel of the destination.                |
| [destinationColorBlendMode](/engine/6000.0/script-reference/unityengine/rendering/rendertargetblendstate/destinationcolorblendmode.md) | Blend factor used for the color (RGB) channel of the destination.              |
| [sourceAlphaBlendMode](/engine/6000.0/script-reference/unityengine/rendering/rendertargetblendstate/sourcealphablendmode.md)           | Blend factor used for the alpha (A) channel of the source.                     |
| [sourceColorBlendMode](/engine/6000.0/script-reference/unityengine/rendering/rendertargetblendstate/sourcecolorblendmode.md)           | Blend factor used for the color (RGB) channel of the source.                   |
| [writeMask](/engine/6000.0/script-reference/unityengine/rendering/rendertargetblendstate/writemask.md)                                 | Specifies which color components will get written into the target framebuffer. |

## Static Properties

| Property                                                                                                     | Description                         |
| ------------------------------------------------------------------------------------------------------------ | ----------------------------------- |
| [defaultValue](/engine/6000.0/script-reference/unityengine/rendering/rendertargetblendstate/defaultvalue.md) | Default values for the blend state. |
