Skip to main content
Sets the blend factor that modulate values for a pixel shader, render target, or both.

Syntax

Parameters

BlendFactor [in, optional]
Type: const FLOAT *
Array of blend factors, one for each RGBA component.

Return value

Type: void None.

Remarks

If you created the blend-state object with D3D12_BLEND_BLEND_FACTOR or D3D12_BLEND_INV_BLEND_FACTOR, then the blending stage uses the non-NULL array of blend factors. Otherwise,the blending stage doesn’t use the non-NULL array of blend factors; the runtime stores the blend factors. If you pass NULL, then the runtime uses or stores a blend factor equal to { 1, 1, 1, 1 }.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

ID3D12GraphicsCommandList
Last modified on August 20, 2026