Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 470 of file qrhimetal.mm.

Member Data Documentation

◆ colorFormat

MTLPixelFormat QMetalSwapChainData::colorFormat

Definition at line 479 of file qrhimetal.mm.

◆ curDrawable

id< CAMetalDrawable > QMetalSwapChainData::curDrawable = nil

Definition at line 473 of file qrhimetal.mm.

◆ lastGpuTime

double QMetalSwapChainData::lastGpuTime

Definition at line 475 of file qrhimetal.mm.

Referenced by QMetalSwapChain::createOrResize().

◆ layer

CAMetalLayer * QMetalSwapChainData::layer = nullptr

Definition at line 472 of file qrhimetal.mm.

◆ msaaTex

id< MTLTexture > QMetalSwapChainData::msaaTex

Definition at line 477 of file qrhimetal.mm.

◆ rhiColorFormat

QRhiTexture::Format QMetalSwapChainData::rhiColorFormat

Definition at line 478 of file qrhimetal.mm.

◆ rp

MTLRenderPassDescriptor * QMetalSwapChainData::rp = nullptr

Definition at line 476 of file qrhimetal.mm.

◆ sem

dispatch_semaphore_t QMetalSwapChainData::sem

Definition at line 474 of file qrhimetal.mm.


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