setRenderPipelineState(_:)
Configures this encoder with a render pipeline state that applies to your subsequent draw commands.
Declaration
func setRenderPipelineState(_ pipelineState: any MTLRenderPipelineState)Parameters
- pipelineState:
A non-
nilMtlrenderpipelinestate instance.