MTLLibrary_Extensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods to the IMTLLibrary interface to support all the methods from the IMTLLibrary protocol.
public static class MTLLibrary_Extensions
type MTLLibrary_Extensions = class
- Inheritance
-
MTLLibrary_Extensions
Remarks
The extension methods for IMTLLibrary allow developers to treat instances of the interface as having all the optional methods of the original IMTLLibrary protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.
Methods
CreateFunction(IMTLLibrary, String, MTLFunctionConstantValues, Action<IMTLFunction,NSError>) | |
CreateFunction(IMTLLibrary, String, MTLFunctionConstantValues, NSError) |