d-metal-binding v1.1.1 (2023-03-29T00:11:10Z)
Dub
Repo
MTLRenderCommandEncoder.drawPatches
metal
rendercommandencoder
MTLRenderCommandEncoder
Encodes a command to render a number of instances of tessellated patches.
interface
MTLRenderCommandEncoder
@
selector
("drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:")
void
drawPatches
(
NSUInteger
numberOfPatchControlPoints
,
NSUInteger
patchStart
,
NSUInteger
patchCount
,
MTLBuffer
patchIndexBuffer
,
NSUInteger
patchIndexBufferOffset
,
NSUInteger
instanceCount
,
NSUInteger
baseInstance
)
Meta
Source
See Implementation
metal
rendercommandencoder
MTLRenderCommandEncoder
functions
drawIndexedPatches
drawIndexedPrimitives
drawPatches
drawPrimitives
endEncoding
setCullMode
setDepthStencilState
setFragmentAccelerationStructure
setFragmentBuffer
setFragmentBufferOffset
setFragmentBuffers
setFragmentBytes
setFragmentIntersectionFunctionTable
setFragmentIntersectionFunctionTables
setFragmentSamplerState
setFragmentSamplerStates
setFragmentTexture
setFragmentTextures
setFragmentVisibleFunctionTable
setFragmentVisibleFunctionTables
setFrontFaceWinding
setRenderPipelineState
setTessellationFactorBuffer
setTessellationFactorScale
setTriangleFillMode
setVertexAccelerationStructure
setVertexAmplificationCount
setVertexBuffer
setVertexBufferOffset
setVertexBuffers
setVertexBytes
setVertexIntersectionFunctionTable
setVertexIntersectionFunctionTables
setVertexSamplerState
setVertexSamplerStates
setVertexTexture
setVertexTextures
setVertexVisibleFunctionTable
setVertexVisibleFunctionTables
setViewport
Encodes a command to render a number of instances of tessellated patches.