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
QPlatformBackingStoreRhiConfig Struct Reference

#include <qplatformbackingstore.h>

+ Collaboration diagram for QPlatformBackingStoreRhiConfig:

Public Types

enum  Api {
  OpenGL , Metal , Vulkan , D3D11 ,
  D3D12 , Null
}
 

Public Member Functions

 QPlatformBackingStoreRhiConfig ()
 
 QPlatformBackingStoreRhiConfig (Api api)
 
bool isEnabled () const
 
void setEnabled (bool enable)
 
Api api () const
 
void setApi (Api api)
 
bool isDebugLayerEnabled () const
 
void setDebugLayer (bool enable)
 

Friends

bool operator== (const QPlatformBackingStoreRhiConfig &a, const QPlatformBackingStoreRhiConfig &b)
 

Detailed Description

Definition at line 40 of file qplatformbackingstore.h.

Member Enumeration Documentation

◆ Api

Enumerator
OpenGL 
Metal 
Vulkan 
D3D11 
D3D12 
Null 

Definition at line 42 of file qplatformbackingstore.h.

Constructor & Destructor Documentation

◆ QPlatformBackingStoreRhiConfig() [1/2]

QPlatformBackingStoreRhiConfig::QPlatformBackingStoreRhiConfig ( )
inline

Definition at line 51 of file qplatformbackingstore.h.

◆ QPlatformBackingStoreRhiConfig() [2/2]

QPlatformBackingStoreRhiConfig::QPlatformBackingStoreRhiConfig ( Api api)
inline

Definition at line 55 of file qplatformbackingstore.h.

Member Function Documentation

◆ api()

Api QPlatformBackingStoreRhiConfig::api ( ) const
inline

Definition at line 63 of file qplatformbackingstore.h.

Referenced by QBackingStoreRhiSupport::create(), and QBackingStoreRhiSupport::swapChainForWindow().

+ Here is the caller graph for this function:

◆ isDebugLayerEnabled()

bool QPlatformBackingStoreRhiConfig::isDebugLayerEnabled ( ) const
inline

Definition at line 66 of file qplatformbackingstore.h.

Referenced by QBackingStoreRhiSupport::create().

+ Here is the caller graph for this function:

◆ isEnabled()

bool QPlatformBackingStoreRhiConfig::isEnabled ( ) const
inline

Definition at line 60 of file qplatformbackingstore.h.

◆ setApi()

void QPlatformBackingStoreRhiConfig::setApi ( Api api)
inline

Definition at line 64 of file qplatformbackingstore.h.

References api.

Referenced by QRhiBackingStore::flush().

+ Here is the caller graph for this function:

◆ setDebugLayer()

void QPlatformBackingStoreRhiConfig::setDebugLayer ( bool enable)
inline

Definition at line 67 of file qplatformbackingstore.h.

◆ setEnabled()

void QPlatformBackingStoreRhiConfig::setEnabled ( bool enable)
inline

Definition at line 61 of file qplatformbackingstore.h.

Referenced by QRhiBackingStore::flush().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const QPlatformBackingStoreRhiConfig & a,
const QPlatformBackingStoreRhiConfig & b )
friend

Definition at line 76 of file qplatformbackingstore.h.


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