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

444 B

RHICommandList::SetScissorRects

virtual void SetScissorRects(uint32_t count, const Rect* rects) = 0;

设置多个裁剪矩形。

参数:

  • count - 裁剪矩形数量
  • rects - 裁剪矩形数组指针

示例:

Rect rects[2];
rects[0] = {0, 0, 640, 480};
rects[1] = {640, 0, 640, 480};
cmdList->SetScissorRects(2, rects);

相关文档