Esempio n. 1
0
        public unsafe void *GetPointer([Flow(FlowDirection.In)] GetPointervPName pname)
        {
            // ReturnTypeOverloader
            void *ret = default;

            GetPointer(pname, &ret);
            return(ret);
        }
Esempio n. 2
0
 internal static extern void glGetPointerv(GetPointervPName pname, [OutAttribute] IntPtr @params);
Esempio n. 3
0
 public abstract unsafe void GetPointer <T0>([Flow(FlowDirection.In)] GetPointervPName pname, [Count(Count = 1), Flow(FlowDirection.Out)] out T0 * @params) where T0 : unmanaged;
Esempio n. 4
0
		internal static extern void glGetPointerv(GetPointervPName pname, [OutAttribute] IntPtr @params);
Esempio n. 5
0
 public abstract unsafe void GetPointer([Flow(FlowDirection.In)] GetPointervPName pname, [Count(Count = 1), Flow(FlowDirection.Out)] void ** @params);
Esempio n. 6
0
		public static void GetPointer(GetPointervPName pname, Object @params)
		{
			GCHandle pin_params = GCHandle.Alloc(@params, GCHandleType.Pinned);
			try {
				GetPointer(pname, pin_params.AddrOfPinnedObject());
			} finally {
				pin_params.Free();
			}
		}
Esempio n. 7
0
		public static void GetPointer(GetPointervPName pname, out IntPtr @params)
		{
			unsafe {
				fixed (IntPtr* p_params = &@params)
				{
					Debug.Assert(Delegates.pglGetPointerv != null, "pglGetPointerv not implemented");
					Delegates.pglGetPointerv((Int32)pname, p_params);
					LogFunction("glGetPointerv({0}, 0x{1})", pname, @params.ToString("X8"));
				}
			}
			DebugCheckErrors(null);
		}
Esempio n. 8
0
 public static void glGetPointerv(GetPointervPName pname, IntPtr @params)
 {
     i_OpenGL1_1.glGetPointerv(pname, @params);
 }
 public static unsafe extern void GetPointerv( GetPointervPName pname, [Out]void** @params );
 public static unsafe void GetPointervEXT( GetPointervPName pname, [Out]void** @params )
 {
     if (_GetPointervEXT == null) throw new Exception( "Extension method GetPointervEXT not found" );
      _GetPointervEXT( pname, @params );
 }