type The texture type (e.g. .type2D, .typeCube), or nil if unspecified. Declarationvar type: MTLTextureType?