Skip to content

Latest commit

 

History

History
133 lines (87 loc) · 5.35 KB

ne-d3d10umddi-d3d10_ddi_blend.md

File metadata and controls

133 lines (87 loc) · 5.35 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NE:d3d10umddi.D3D10_DDI_BLEND
D3D10_DDI_BLEND (d3d10umddi.h)
The D3D10_DDI_BLEND enumeration type contains values that identify blend modes in a call to the driver's CreateBlendState function.
display\d3d10_ddi_blend.htm
08/22/2022
D3D10_DDI_BLEND enumeration
D3D10_DDI_BLEND, D3D10_DDI_BLEND enumeration [Display Devices], D3D10_DDI_BLEND_BLEND_FACTOR, D3D10_DDI_BLEND_DEST_ALPHA, D3D10_DDI_BLEND_DEST_COLOR, D3D10_DDI_BLEND_INVBLEND_FACTOR, D3D10_DDI_BLEND_INV_DEST_ALPHA, D3D10_DDI_BLEND_INV_DEST_COLOR, D3D10_DDI_BLEND_INV_SRC1_ALPHA, D3D10_DDI_BLEND_INV_SRC1_COLOR, D3D10_DDI_BLEND_INV_SRC_ALPHA, D3D10_DDI_BLEND_INV_SRC_COLOR, D3D10_DDI_BLEND_ONE, D3D10_DDI_BLEND_SRC1_ALPHA, D3D10_DDI_BLEND_SRC1_COLOR, D3D10_DDI_BLEND_SRC_ALPHA, D3D10_DDI_BLEND_SRC_ALPHASAT, D3D10_DDI_BLEND_SRC_COLOR, D3D10_DDI_BLEND_ZERO, UMDisplayDriver_Dx10param_Structs_de092af6-e6a8-4772-af32-b92d2afcea79.xml, d3d10umddi/D3D10_DDI_BLEND, d3d10umddi/D3D10_DDI_BLEND_BLEND_FACTOR, d3d10umddi/D3D10_DDI_BLEND_DEST_ALPHA, d3d10umddi/D3D10_DDI_BLEND_DEST_COLOR, d3d10umddi/D3D10_DDI_BLEND_INVBLEND_FACTOR, d3d10umddi/D3D10_DDI_BLEND_INV_DEST_ALPHA, d3d10umddi/D3D10_DDI_BLEND_INV_DEST_COLOR, d3d10umddi/D3D10_DDI_BLEND_INV_SRC1_ALPHA, d3d10umddi/D3D10_DDI_BLEND_INV_SRC1_COLOR, d3d10umddi/D3D10_DDI_BLEND_INV_SRC_ALPHA, d3d10umddi/D3D10_DDI_BLEND_INV_SRC_COLOR, d3d10umddi/D3D10_DDI_BLEND_ONE, d3d10umddi/D3D10_DDI_BLEND_SRC1_ALPHA, d3d10umddi/D3D10_DDI_BLEND_SRC1_COLOR, d3d10umddi/D3D10_DDI_BLEND_SRC_ALPHA, d3d10umddi/D3D10_DDI_BLEND_SRC_ALPHASAT, d3d10umddi/D3D10_DDI_BLEND_SRC_COLOR, d3d10umddi/D3D10_DDI_BLEND_ZERO, display.d3d10_ddi_blend
d3d10umddi.h
D3d10umddi.h
Windows
Windows Vista
Windows
display
D3D10_DDI_BLEND
D3D10_DDI_BLEND
d3d10umddi/D3D10_DDI_BLEND
APIRef
kbSyntax
HeaderDef
d3d10umddi.h
D3D10_DDI_BLEND

D3D10_DDI_BLEND enumeration

-description

The D3D10_DDI_BLEND enumeration type contains values that identify blend modes in a call to the driver's CreateBlendState function.

-enum-fields

-field D3D10_DDI_BLEND_ZERO:1

Blend factor is (0, 0, 0, 0).

-field D3D10_DDI_BLEND_ONE:2

Blend factor is (1, 1, 1, 1).

-field D3D10_DDI_BLEND_SRC_COLOR:3

Blend factor is (Rₛ,Gₛ,Bₛ,Aₛ).

-field D3D10_DDI_BLEND_INV_SRC_COLOR:4

Blend factor is (1 - Rₛ, 1 - Gₛ, 1 - Bₛ, 1 - Aₛ).

-field D3D10_DDI_BLEND_SRC_ALPHA:5

Blend factor is (Aₛ, Aₛ, Aₛ, Aₛ).

-field D3D10_DDI_BLEND_INV_SRC_ALPHA:6

Blend factor is ( 1 - Aₛ, 1 - Aₛ, 1 - Aₛ, 1 - Aₛ).

-field D3D10_DDI_BLEND_DEST_ALPHA:7

Blend factor is (Ad, Ad, Ad, Ad) of the current render target that is being blended.

-field D3D10_DDI_BLEND_INV_DEST_ALPHA:8

Blend factor is (1 - Ad, 1 - Ad, 1 - Ad, 1 - Ad) of the current render target that is being blended.

-field D3D10_DDI_BLEND_DEST_COLOR:9

Blend factor is (Rd, Gd, Bd, Ad) of the current render target that is being blended.

-field D3D10_DDI_BLEND_INV_DEST_COLOR:10

Blend factor is (1 - Rd, 1 - Gd, 1 - Bd, 1 - Ad) of the current render target that is being blended.

-field D3D10_DDI_BLEND_SRC_ALPHASAT:11

Blend factor is (f, f, f, 1); f = min(A, 1 - Ad).

-field D3D10_DDI_BLEND_BLEND_FACTOR:14

Constant color-blending factor that the frame-buffer blender uses.

-field D3D10_DDI_BLEND_INVBLEND_FACTOR:15

Inverted constant color-blending factor that the frame-buffer blender uses.

-field D3D10_DDI_BLEND_SRC1_COLOR:16

Blend factor is the red, green, and blue (RGB) components of a pixel shader output register (PS output o1.rgb).

-field D3D10_DDI_BLEND_INV_SRC1_COLOR:17

Blend factor is the inversion of the RGB components of a pixel shader output register (1.0f - PS output o1.rgb).

-field D3D10_DDI_BLEND_SRC1_ALPHA:18

Blend factor is the alpha component of a pixel shader output register (PS output o1.a).

-field D3D10_DDI_BLEND_INV_SRC1_ALPHA:19

Blend factor is the inversion of the alpha component of a pixel shader output register (1.0f - PS output o1.a).

-field D3D10_DDI_BLEND_ALPHA_FACTOR:20

Blend factor is the alpha component of the color-blending factor that the frame-buffer blender uses.

-field D3D10_DDI_BLEND_INVALPHA_FACTOR:21

Blend factor is 1 minus the alpha component of the color-blending factor that the frame-buffer blender uses.

-remarks

A blend mode is an algorithm that is used to determine how a texture is blended with the colors of the surface that the texture is applied to. A blend factor is a description of how each color component is blended in texture blending.

-see-also

CreateBlendState