MTLTexture_id(3)

# MTLTexture_id(3) Manual Page

## Name

MTLTexture_id - Metal MTLTexture type reference

Loading… please wait.

## C Specification

The type `id<MTLTexture>` is defined in Apple’s Metal framework, but to remove an unnecessary compile-time dependency, an incomplete type definition of MTLTexture_id is provided in the Vulkan headers:

    // Provided by VK_EXT_metal_objects
    #ifdef __OBJC__
    @protocol MTLTexture;
    typedef id<MTLTexture> MTLTexture_id;
    #else
    typedef void* MTLTexture_id;
    #endif

## See Also

VK_EXT_metal_objects

## Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0