bool GenerateMipmap(id< MTLBlitCommandEncoder > encoder)
TextureMTL(TextureDescriptor desc, id< MTLTexture > texture, bool wrapped=false)
id< MTLTexture > GetMTLTexture() const
static std::shared_ptr< TextureMTL > Wrapper(TextureDescriptor desc, id< MTLTexture > texture, std::function< void()> deletion_proc=nullptr)
A lightweight object that describes the attributes of a texture that can then used an allocator to cr...