Contents

newTextureView(with:)

Declaration

func newTextureView(with descriptor: MTLTextureViewDescriptor) -> (any MTLTexture)?

Discussion

Create a new texture which shares the same storage as the source texture, but with different (but compatible) properties specified by the descriptor