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
QMetalGraphicsPipelineData::ExtraBufferManager Struct Reference
Collaboration diagram for QMetalGraphicsPipelineData::ExtraBufferManager:

Public Types

enum class  WorkBufType { DeviceLocal , HostVisible , DeviceLocal , HostVisible }
enum class  WorkBufType { DeviceLocal , HostVisible , DeviceLocal , HostVisible }

Public Member Functions

QMetalBufferacquireWorkBuffer (QRhiMetal *rhiD, quint32 size, WorkBufType type=WorkBufType::DeviceLocal)
QMetalBufferacquireWorkBuffer (QRhiMetal *rhiD, quint32 size, WorkBufType type=WorkBufType::DeviceLocal)

Public Attributes

QVector< QMetalBuffer * > deviceLocalWorkBuffers
QVector< QMetalBuffer * > hostVisibleWorkBuffers

Detailed Description

Definition at line 410 of file qrhimetal.mm.

Member Enumeration Documentation

◆ WorkBufType [1/2]

Enumerator
DeviceLocal 
HostVisible 
DeviceLocal 
HostVisible 

Definition at line 411 of file qrhimetal.mm.

◆ WorkBufType [2/2]

Enumerator
DeviceLocal 
HostVisible 
DeviceLocal 
HostVisible 

Definition at line 411 of file qrhimetal.mm.

Member Function Documentation

◆ acquireWorkBuffer() [1/2]

QMetalBuffer * QMetalGraphicsPipelineData::ExtraBufferManager::acquireWorkBuffer ( QRhiMetal * rhiD,
quint32 size,
WorkBufType type = WorkBufType::DeviceLocal )

Definition at line 5743 of file qrhimetal.mm.

References QMetalBuffer::create(), DeviceLocal, QMetalBuffer::lastActiveFrameSlot, and QMTL_FRAMES_IN_FLIGHT.

Here is the call graph for this function:

◆ acquireWorkBuffer() [2/2]

QMetalBuffer * QMetalGraphicsPipelineData::ExtraBufferManager::acquireWorkBuffer ( QRhiMetal * rhiD,
quint32 size,
WorkBufType type = WorkBufType::DeviceLocal )

Member Data Documentation

◆ deviceLocalWorkBuffers

QVector< QMetalBuffer * > QMetalGraphicsPipelineData::ExtraBufferManager::deviceLocalWorkBuffers

Definition at line 416 of file qrhimetal.mm.

◆ hostVisibleWorkBuffers

QVector< QMetalBuffer * > QMetalGraphicsPipelineData::ExtraBufferManager::hostVisibleWorkBuffers

Definition at line 417 of file qrhimetal.mm.


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