depthFromDepthStencil
A blit option that copies the depth portion of a combined depth and stencil texture to or from a buffer.
Declaration
static var depthFromDepthStencil: MTLBlitOption { get }Discussion
You can pass this option to some methods that copy data between a buffer and a texture, including the following: