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

Member Function Documentation

◆ setupStageInputDescriptor()

void QMetalGraphicsPipelineData::setupStageInputDescriptor ( MTLStageInputOutputDescriptor * desc)

Definition at line 4928 of file qrhimetal.mm.

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

+ Here is the call graph for this function:

◆ setupVertexInputDescriptor()

void QMetalGraphicsPipelineData::setupVertexInputDescriptor ( MTLVertexDescriptor * desc)

Definition at line 4897 of file qrhimetal.mm.

References QRhiVertexInputLayout::cbeginAttributes(), QRhiVertexInputLayout::cbeginBindings(), QRhiVertexInputLayout::cendAttributes(), QRhiVertexInputLayout::cendBindings(), 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 441 of file qrhimetal.mm.

Referenced by QMetalGraphicsPipeline::destroy().

◆ 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 383 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: