public unsafe void *GetPointer([Flow(FlowDirection.In)] GetPointervPName pname) { // ReturnTypeOverloader void *ret = default; GetPointer(pname, &ret); return(ret); }
internal static extern void glGetPointerv(GetPointervPName pname, [OutAttribute] IntPtr @params);
public abstract unsafe void GetPointer <T0>([Flow(FlowDirection.In)] GetPointervPName pname, [Count(Count = 1), Flow(FlowDirection.Out)] out T0 * @params) where T0 : unmanaged;
public abstract unsafe void GetPointer([Flow(FlowDirection.In)] GetPointervPName pname, [Count(Count = 1), Flow(FlowDirection.Out)] void ** @params);
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(); } }
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); }
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 ); }