D3D10_DDI_BLEND_OP enumeration (d3d10umddi.h)
The D3D10_DDI_BLEND_OP enumeration type contains values that identify blending operations in a call to the driver's CreateBlendState function.
Syntax
typedef enum D3D10_DDI_BLEND_OP {
D3D10_DDI_BLEND_OP_ADD,
D3D10_DDI_BLEND_OP_SUBTRACT,
D3D10_DDI_BLEND_OP_REV_SUBTRACT,
D3D10_DDI_BLEND_OP_MIN,
D3D10_DDI_BLEND_OP_MAX
} ;
Constants
D3D10_DDI_BLEND_OP_ADD The result is the destination added to the source (Result = Source + Destination). |
D3D10_DDI_BLEND_OP_SUBTRACT The result is the destination subtracted from to the source (Result = Source - Destination). |
D3D10_DDI_BLEND_OP_REV_SUBTRACT The result is the source subtracted from the destination (Result = Destination - Source). |
D3D10_DDI_BLEND_OP_MIN The result is the minimum of the source and destination (Result = MIN(Source, Destination)) |
D3D10_DDI_BLEND_OP_MAX The result is the maximum of the source and destination (Result = MAX(Source, Destination)) |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3d10umddi.h (include D3d10umddi.h) |