Files
XCEngine/docs/api/rhi/opengl/command-queue/get-native-handle.md
2026-03-20 02:35:45 +08:00

19 lines
428 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# OpenGLCommandQueue::GetNativeHandle
```cpp
void* GetNativeHandle()
```
**详细描述**: 获取原生句柄。OpenGLCommandQueue 当前为存根实现,因此始终返回 `nullptr`
**返回值:** `void*` - 原生句柄指针OpenGL 实现当前返回 `nullptr`
**示例:**
```cpp
void* handle = commandQueue->GetNativeHandle();
```
## 相关文档
- [OpenGLCommandQueue](command-queue.md) - 返回至类概览