- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
24 lines
423 B
Markdown
24 lines
423 B
Markdown
# 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) - 返回类总览
|