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

Classes

struct  ExtraBufferManager
 
struct  Tessellation
 

Public Member Functions

void setupVertexInputDescriptor (MTLVertexDescriptor *desc)
 
void setupStageInputDescriptor (MTLStageInputOutputDescriptor *desc)
 

Public Attributes

QMetalGraphicsPipelineq = nullptr
 
id< MTLRenderPipelineState > ps = nil
 
id< MTLDepthStencilState > ds = nil
 
MTLPrimitiveType primitiveType
 
MTLWinding winding
 
MTLCullMode cullMode
 
MTLTriangleFillMode triangleFillMode
 
float depthBias
 
float slopeScaledDepthBias
 
QMetalShader vs
 
QMetalShader fs
 
struct QMetalGraphicsPipelineData::ExtraBufferManager extraBufMgr
 
struct QMetalGraphicsPipelineData::Tessellation tess
 
QMetalBufferbufferSizeBuffer = nullptr
 

Detailed Description

Definition at line 367 of file qrhimetal.mm.

Member Function Documentation

◆ setupStageInputDescriptor()

void QMetalGraphicsPipelineData::setupStageInputDescriptor ( MTLStageInputOutputDescriptor *  desc)

Definition at line 4847 of file qrhimetal.mm.

References QRhiVertexInputLayout::cbeginAttributes(), QRhiVertexInputLayout::cbeginBindings(), QRhiVertexInputLayout::cendAttributes(), QRhiVertexInputLayout::cendBindings(), desc, it, QRhiVertexInputBinding::PerInstance, QRHI_RES, and toMetalAttributeFormat().

+ Here is the call graph for this function:

◆ setupVertexInputDescriptor()

void QMetalGraphicsPipelineData::setupVertexInputDescriptor ( MTLVertexDescriptor *  desc)

Definition at line 4816 of file qrhimetal.mm.

References QRhiVertexInputLayout::cbeginAttributes(), QRhiVertexInputLayout::cbeginBindings(), QRhiVertexInputLayout::cendAttributes(), QRhiVertexInputLayout::cendBindings(), desc, it, QRhiVertexInputBinding::PerInstance, QRHI_RES, and toMetalAttributeFormat().

Referenced by QMetalGraphicsPipeline::createVertexFragmentPipeline().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ bufferSizeBuffer

QMetalBuffer* QMetalGraphicsPipelineData::bufferSizeBuffer = nullptr

Definition at line 427 of file qrhimetal.mm.

Referenced by QMetalGraphicsPipeline::destroy(), and QRhiMetal::setShaderResources().

◆ cullMode

MTLCullMode QMetalGraphicsPipelineData::cullMode

◆ depthBias

float QMetalGraphicsPipelineData::depthBias

◆ ds

id<MTLDepthStencilState> QMetalGraphicsPipelineData::ds = nil

◆ extraBufMgr

◆ fs

◆ primitiveType

MTLPrimitiveType QMetalGraphicsPipelineData::primitiveType

◆ ps

◆ q

QMetalGraphicsPipeline* QMetalGraphicsPipelineData::q = nullptr

Definition at line 369 of file qrhimetal.mm.

Referenced by QMetalGraphicsPipeline::QMetalGraphicsPipeline().

◆ slopeScaledDepthBias

float QMetalGraphicsPipelineData::slopeScaledDepthBias

◆ tess

◆ triangleFillMode

MTLTriangleFillMode QMetalGraphicsPipelineData::triangleFillMode

◆ vs

◆ winding

MTLWinding QMetalGraphicsPipelineData::winding

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