reset()
Resets the render encoder state to renderer defaults.
Declaration
func reset()Discussion
Call this after any custom Metal commands that modify the depth stencil state, cull mode, viewports, or scissor rects, to restore the renderer’s expected state before the next draw call.