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
QMetalShader Struct Reference

\variable QRhiMetalCommandBufferNativeHandles::commandBuffer More...

+ Collaboration diagram for QMetalShader:

Public Member Functions

void destroy ()
 

Public Attributes

id< MTLLibrary > lib = nil
 
id< MTLFunction > func = nil
 
std::array< uint, 3 > localSize = {}
 
uint outputVertexCount = 0
 
QShaderDescription desc
 
QShader::NativeResourceBindingMap nativeResourceBindingMap
 
QShader::NativeShaderInfo nativeShaderInfo
 

Detailed Description

\variable QRhiMetalCommandBufferNativeHandles::commandBuffer

\variable QRhiMetalCommandBufferNativeHandles::encoder

Definition at line 145 of file qrhimetal.mm.

Member Function Documentation

◆ destroy()

void QMetalShader::destroy ( )
inline

Definition at line 155 of file qrhimetal.mm.

References QMap< Key, T >::clear(), lib, nativeResourceBindingMap, and release().

Referenced by QMetalGraphicsPipeline::destroy(), and QMetalComputePipeline::destroy().

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

Member Data Documentation

◆ desc

◆ func

◆ lib

◆ localSize

std::array<uint, 3> QMetalShader::localSize = {}

Definition at line 149 of file qrhimetal.mm.

Referenced by QMetalComputePipeline::create().

◆ nativeResourceBindingMap

◆ nativeShaderInfo

◆ outputVertexCount

uint QMetalShader::outputVertexCount = 0

Definition at line 150 of file qrhimetal.mm.


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