MTLLibrary_Extensions Class

Definition

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)

Applies to