Files
XCSDD/docs/api/rhi/opengl/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

363 B

OpenGLCommandList::SetScissorRect

void SetScissorRect(const Rect& rect)

设置裁剪矩形。

参数:

  • rect - 裁剪矩形结构

示例:

Rect rect;
rect.x = 0; rect.y = 0;
rect.width = 800; rect.height = 600;
commandList->SetScissorRect(rect);

相关文档