Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QRhiD3D11InitParams Class Reference

\inmodule QtGui More...

+ Collaboration diagram for QRhiD3D11InitParams:

Detailed Description

\inmodule QtGui

Since
6.6

Direct3D 11 specific initialization parameters.

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

A D3D11-based QRhi needs no special parameters for initialization. If desired, enableDebugLayer can be set to true to enable the Direct3D debug layer. This can be useful during development, but should be avoided in production builds.

\badcode QRhiD3D11InitParams params; params.enableDebugLayer = true; rhi = QRhi::create(QRhi::D3D11, &params);

Note
QRhiSwapChain should only be used in combination with QWindow instances that have their surface type set to QSurface::Direct3DSurface.

The documentation for this class was generated from the following file: