Information about the arguments of a compute function.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
MTLCompute object provides access to the arguments of the compute function used in an
MTLCompute object. An
MTLCompute object can be created along with an
MTLCompute object. Don't create an
MTLCompute object directly. Instead, call either the
make method of
MTLDevice to create both an
MTLCompute object and an
MTLCompute objects can use a significant amount of memory; release any strong references to them after you finish creating pipeline objects.