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

            GetPointer(pname, &ret);
            return(ret);
        }
Exemplo n.º 2
0
 internal static extern void glGetPointerv(GetPointervPName pname, [OutAttribute] IntPtr @params);
Exemplo 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;
Exemplo n.º 4
0
		internal static extern void glGetPointerv(GetPointervPName pname, [OutAttribute] IntPtr @params);
Exemplo n.º 5
0
 public abstract unsafe void GetPointer([Flow(FlowDirection.In)] GetPointervPName pname, [Count(Count = 1), Flow(FlowDirection.Out)] void ** @params);
Exemplo 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();
			}
		}
Exemplo 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);
		}
Exemplo n.º 8
0
 public static void glGetPointerv(GetPointervPName pname, IntPtr @params)
 {
     i_OpenGL1_1.glGetPointerv(pname, @params);
 }
Exemplo n.º 9
0
 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 );
 }