Expand Minimize

D3D10_DDI_BLEND_OP enumeration

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           = 1,
  D3D10_DDI_BLEND_OP_SUBTRACT      = 2,
  D3D10_DDI_BLEND_OP_REV_SUBTRACT  = 3,
  D3D10_DDI_BLEND_OP_MIN           = 4,
  D3D10_DDI_BLEND_OP_MAX           = 5
} D3D10_DDI_BLEND_OP;

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CreateBlendState

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft