Skip to main content

Module resource

Module resource 

Source
Expand description

Resource protocol.

Corresponds to Metal/MTLResource.hpp.

This module defines the Resource trait which corresponds to the MTL::Resource protocol in metal-cpp. Resource types like Buffer and Texture already have these methods as inherent methods, so this trait serves primarily for documentation and generic programming.

Traitsยง

Resource
Protocol for GPU-accessible resources.