MTL4RenderPassDescriptor
Describes a render pass.
Declaration
class MTL4RenderPassDescriptorOverview
You use render pass descriptors to create instances of MTL4RenderCommandEncoder and encode draw commands into instances of MTL4CommandBuffer.
To create render command encoders, you typically call renderCommandEncoderWithDescriptor:. The makeRenderCommandEncoder(descriptor:options:) variant of this method allows you to specify additional options to encode a render pass in parallel from multiple CPU cores by creating suspending and resuming render passes.
Topics
Instance Properties
colorAttachmentsdefaultRasterSampleCountdepthAttachmentimageblockSampleLengthrasterizationRateMaprenderTargetArrayLengthrenderTargetHeightrenderTargetWidthsamplePositionsstencilAttachmentsupportColorAttachmentMappingthreadgroupMemoryLengthtileHeighttileWidthvisibilityResultBuffervisibilityResultType
See Also
Configuring a render command encoder
MTLRenderPassDescriptorMTLRenderPassAttachmentDescriptorMTLRenderPassColorAttachmentDescriptorArrayMTLRenderPassColorAttachmentDescriptorMTLClearColorMTLRenderPassDepthAttachmentDescriptorMTLMultisampleDepthResolveFilterMTL4RenderPipelineColorAttachmentDescriptorArrayMTLTileRenderPipelineColorAttachmentDescriptorArrayMTLRenderPassStencilAttachmentDescriptorMTLMultisampleStencilResolveFilterMTLRenderPassSampleBufferAttachmentDescriptorArrayMTLRenderPassSampleBufferAttachmentDescriptorMTLLogicalToPhysicalColorAttachmentMapMTLDispatchThreadsIndirectArguments