Files
XCEngine/docs/api/XCEngine/RHI/OpenGL/OpenGLCommandQueue/WaitForIdle.md

679 B

OpenGLCommandQueue::WaitForIdle

公开方法,详见头文件声明。

void WaitForIdle() override;

该方法声明于 XCEngine/RHI/OpenGL/OpenGLCommandQueue.h,当前页面用于固定 OpenGLCommandQueue 类目录下的方法级 canonical 路径。

参数: 无。

返回: void - 无返回值。

示例:

#include <XCEngine/RHI/OpenGL/OpenGLCommandQueue.h>

void Example() {
    XCEngine::RHI::OpenGLCommandQueue object;
    // 根据上下文补齐参数后调用 OpenGLCommandQueue::WaitForIdle(...)。
    (void)object;
}

相关文档