QRhiD3D12CommandBufferNativeHandles Struct | Qt GUI | Qt 6.12.0
Description: Holds the ID3D12GraphicsCommandList1 object that is backing a QRhiCommandBuffer.
Keywords: struct

- Qt 6.12
- Qt GUI
- C++ Classes
- QtGuiPrivate
- QRhiD3D12CommandBufferNativeHandles
- Qt 6.12.0 Reference Documentation

# QRhiD3D12CommandBufferNativeHandles Struct

Holds the ID3D12GraphicsCommandList1 object that is backing a QRhiCommandBuffer. More...

Header: | `#include <rhi/qrhi.h>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)` `target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)`
qmake: | `QT += gui-private`
Inherits: | QRhiNativeHandles

- List of all members, including inherited members

## Public Variables

void * | commandList

## Detailed Description

Note: The command list object is only guaranteed to be valid, and in recording state, while recording a frame. That is, between a beginFrame() - endFrame() or beginOffscreenFrame() - endOffscreenFrame() pair.

Note: This is a RHI API with limited compatibility guarantees, see QRhi for details.

## Member Variable Documentation

### void *QRhiD3D12CommandBufferNativeHandles::commandList