Files
XCSDD/docs/api/rhi/command-list/set-blend-factor.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- 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
2026-03-19 12:44:08 +08:00

367 B

RHICommandList::SetBlendFactor

virtual void SetBlendFactor(const float factor[4]) = 0;

设置混合因子。

参数:

  • factor - 混合因子数组 [r, g, b, a]

示例:

float factor[4] = {0.5f, 0.5f, 0.5f, 1.0f};
cmdList->SetBlendFactor(factor);

相关文档