texture(with:width:height:)

Declaration

func texture(with pixelFormat: MTLPixelFormat, width: Int, height: Int) -> (any MTLTexture)?