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

1.6 KiB

OpenGLSwapChain

命名空间: XCEngine::RHI

描述: OpenGL 交换链实现,继承自 RHISwapChain

公共方法

方法 描述
Initialize 初始化交换链
InitializeMode 使用模式初始化
Shutdown 关闭交换链
Present 呈现画面
SwapBuffers 交换缓冲
Resize 调整交换链大小
SetVSync 设置垂直同步
IsVSync 检查是否垂直同步
SetFullscreen 设置全屏模式
IsFullscreen 检查是否全屏
ShouldClose 检查是否应关闭
SetShouldClose 设置关闭标志
PollEvents 处理窗口事件
GetCurrentBackBufferIndex 获取当前后台缓冲区索引
GetCurrentBackBuffer 获取当前后台缓冲区
GetWidth 获取宽度
GetHeight 获取高度
GetFramebufferWidth 获取帧缓冲宽度
GetFramebufferHeight 获取帧缓冲高度
GetWindow 获取窗口
GetNativeHandle 获取原生句柄

相关文档