Beispiel #1
0
		public static CIContext FromMetalDevice (IMTLDevice device, CIContextOptions options)
		{
			if (options == null)
				return FromMetalDevice (device);

			return FromMetalDevice (device, options.Dictionary);
		}
Beispiel #2
0
		public static CIContext FromContext (EAGLContext eaglContext, CIContextOptions options)
		{
			if (options == null)
				return FromContext (eaglContext);

			return FromContext (eaglContext, options.Dictionary);
		}
Beispiel #3
0
		public static CIContext FromOptions (CIContextOptions options)
		{
			return FromOptions (options?.Dictionary);
		}
Beispiel #4
0
		public static CIContext FromContext (CGContext ctx, CIContextOptions options)
		{
			return FromContext (ctx, options?.Dictionary);
		}
Beispiel #5
0
		public CIContext (CIContextOptions options) :
			this (options?.Dictionary)
		{
		}