Files
XCSDD/docs/api/rhi/command-list/set-scissor-rect.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

381 B

RHICommandList::SetScissorRect

virtual void SetScissorRect(const Rect& rect) = 0;

设置裁剪矩形。

参数:

  • rect - 裁剪矩形结构体

示例:

Rect rect;
rect.left = 0;
rect.top = 0;
rect.right = 640;
rect.bottom = 480;
cmdList->SetScissorRect(rect);

相关文档