Files
XCSDD/docs/api/rhi/command-list/set-blend-state.md

24 lines
423 B
Markdown
Raw Normal View History

# RHICommandList::SetBlendState
```cpp
virtual void SetBlendState(const BlendState& state) = 0;
```
设置混合状态。
**参数:**
- `state` - 混合状态结构体
**示例:**
```cpp
BlendState blendState;
blendState.alphaToCoverageEnable = false;
blendState.independentBlendEnable = false;
cmdList->SetBlendState(blendState);
```
## 相关文档
- [RHICommandList 总览](command-list.md) - 返回类总览