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
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 454 of file qrhimetal.mm.

Member Data Documentation

◆ colorFormat

MTLPixelFormat QMetalSwapChainData::colorFormat

◆ curDrawable

id<CAMetalDrawable> QMetalSwapChainData::curDrawable = nil

Definition at line 457 of file qrhimetal.mm.

Referenced by QMetalSwapChain::createOrResize(), and QMetalSwapChain::destroy().

◆ lastGpuTime

double QMetalSwapChainData::lastGpuTime[QMTL_FRAMES_IN_FLIGHT]

Definition at line 459 of file qrhimetal.mm.

Referenced by QMetalSwapChain::createOrResize().

◆ layer

CAMetalLayer* QMetalSwapChainData::layer = nullptr

◆ msaaTex

id<MTLTexture> QMetalSwapChainData::msaaTex[QMTL_FRAMES_IN_FLIGHT]

◆ rhiColorFormat

QRhiTexture::Format QMetalSwapChainData::rhiColorFormat

Definition at line 462 of file qrhimetal.mm.

Referenced by QMetalSwapChain::chooseFormats().

◆ rp

MTLRenderPassDescriptor* QMetalSwapChainData::rp = nullptr

Definition at line 460 of file qrhimetal.mm.

◆ sem


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