depthStencilPixelFormat
The format used to generate the Depthstenciltexture object.
Declaration
var depthStencilPixelFormat: MTLPixelFormat { get set }Discussion
The default value is MTLPixelFormat.invalid, which means that the view doesn’t create a depth and stencil texture. If you set it to a different format, the view automatically creates those textures for you and configures them as part of any render passes that the view creates.