共用方式為


D3DBLEND列舉 (d3d9types.h)

Syntax

typedef enum _D3DBLEND {
  D3DBLEND_ZERO,
  D3DBLEND_ONE,
  D3DBLEND_SRCCOLOR,
  D3DBLEND_INVSRCCOLOR,
  D3DBLEND_SRCALPHA,
  D3DBLEND_INVSRCALPHA,
  D3DBLEND_DESTALPHA,
  D3DBLEND_INVDESTALPHA,
  D3DBLEND_DESTCOLOR,
  D3DBLEND_INVDESTCOLOR,
  D3DBLEND_SRCALPHASAT,
  D3DBLEND_BOTHSRCALPHA,
  D3DBLEND_BOTHINVSRCALPHA,
  D3DBLEND_BLENDFACTOR,
  D3DBLEND_INVBLENDFACTOR,
  D3DBLEND_SRCCOLOR2,
  D3DBLEND_INVSRCCOLOR2,
  D3DBLEND_FORCE_DWORD
} D3DBLEND;

常數

 
D3DBLEND_ZERO
D3DBLEND_ONE
D3DBLEND_SRCCOLOR
D3DBLEND_INVSRCCOLOR
D3DBLEND_SRCALPHA
D3DBLEND_INVSRCALPHA
D3DBLEND_DESTALPHA
D3DBLEND_INVDESTALPHA
D3DBLEND_DESTCOLOR
D3DBLEND_INVDESTCOLOR
D3DBLEND_SRCALPHASAT
D3DBLEND_BOTHSRCALPHA
D3DBLEND_BOTHINVSRCALPHA
D3DBLEND_BLENDFACTOR
D3DBLEND_INVBLENDFACTOR
D3DBLEND_SRCCOLOR2
D3DBLEND_INVSRCCOLOR2
D3DBLEND_FORCE_DWORD

規格需求

需求
標頭 d3d9types.h