Qt 6.x
The Qt SDK
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 41 of file qplatformbackingstore.h.

Member Enumeration Documentation

◆ Api

Enumerator
OpenGL 
Metal 
Vulkan 
D3D11 
D3D12 
Null 

Definition at line 43 of file qplatformbackingstore.h.

Constructor & Destructor Documentation

◆ QPlatformBackingStoreRhiConfig() [1/2]

QPlatformBackingStoreRhiConfig::QPlatformBackingStoreRhiConfig ( )
inline

Definition at line 52 of file qplatformbackingstore.h.

◆ QPlatformBackingStoreRhiConfig() [2/2]

QPlatformBackingStoreRhiConfig::QPlatformBackingStoreRhiConfig ( Api  api)
inline

Definition at line 56 of file qplatformbackingstore.h.

Member Function Documentation

◆ api()

Api QPlatformBackingStoreRhiConfig::api ( ) const
inline

Definition at line 64 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 67 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 61 of file qplatformbackingstore.h.

◆ setApi()

void QPlatformBackingStoreRhiConfig::setApi ( Api  api)
inline

Definition at line 65 of file qplatformbackingstore.h.

Referenced by QRhiBackingStore::flush().

+ Here is the caller graph for this function:

◆ setDebugLayer()

void QPlatformBackingStoreRhiConfig::setDebugLayer ( bool  enable)
inline

Definition at line 68 of file qplatformbackingstore.h.

◆ setEnabled()

void QPlatformBackingStoreRhiConfig::setEnabled ( bool  enable)
inline

Definition at line 62 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 77 of file qplatformbackingstore.h.


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