コード例 #1
0
		private static extern ErrorCode clGetGLContextInfoKHR(
			[In] [MarshalAs(UnmanagedType.LPArray)] cl_uint[] properties,
			cl_gl_ContextInfo info,
			cl_uint size,
			[Out] [MarshalAs(UnmanagedType.LPArray)] Device[] devices,
			[Out] out cl_uint retSize);
コード例 #2
0
 private static extern ErrorCode clGetGLContextInfoKHR(
     [In][MarshalAs(UnmanagedType.LPArray)] cl_uint[] properties,
     cl_gl_ContextInfo info,
     cl_uint size,
     [Out][MarshalAs(UnmanagedType.LPArray)] Device[] devices,
     [Out] out cl_uint retSize);