color mask

https://msdn.microsoft.com/zh-cn/library/windows/desktop/bb173595(v=vs.85).aspx

void OMSetBlendState(
  [in]  ID3D10BlendState *pBlendState,
  [in]  const FLOAT BlendFactor[4],
  [in]  UINT SampleMask
);

 

the second is about blendfactor.......

RenderTargetWriteMask[8] D3D10_COLOR_WRITE_ENABLE_ALL[8]

set colormask in this way

RenderTargetWrite Mask[8]; D3D10_COLOR_WRITE_ENABLE_ALL[8]



posted on 2015-03-05 15:13  minggoddess  阅读(213)  评论(0编辑  收藏  举报