Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QMetalSwapChainData Struct Reference
+ Collaboration diagram for QMetalSwapChainData:

Public Attributes

CAMetalLayer * layer = nullptr
 
id< CAMetalDrawable > curDrawable = nil
 
dispatch_semaphore_t sem [QMTL_FRAMES_IN_FLIGHT]
 
double lastGpuTime [QMTL_FRAMES_IN_FLIGHT]
 
MTLRenderPassDescriptor * rp = nullptr
 
id< MTLTexture > msaaTex [QMTL_FRAMES_IN_FLIGHT]
 
QRhiTexture::Format rhiColorFormat
 
MTLPixelFormat colorFormat
 

Detailed Description

Definition at line 440 of file qrhimetal.mm.

Member Data Documentation

◆ colorFormat

MTLPixelFormat QMetalSwapChainData::colorFormat

◆ curDrawable

id<CAMetalDrawable> QMetalSwapChainData::curDrawable = nil

◆ lastGpuTime

double QMetalSwapChainData::lastGpuTime[QMTL_FRAMES_IN_FLIGHT]

◆ layer

◆ msaaTex

◆ rhiColorFormat

QRhiTexture::Format QMetalSwapChainData::rhiColorFormat

Definition at line 448 of file qrhimetal.mm.

Referenced by QMetalSwapChain::chooseFormats().

◆ rp

MTLRenderPassDescriptor* QMetalSwapChainData::rp = nullptr

Definition at line 446 of file qrhimetal.mm.

◆ sem


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