public static unsafe void FogCoordPointer <T0>(this ExtFogCoord thisApi, [Flow(FlowDirection.In)] FogPointerTypeEXT type, [Flow(FlowDirection.In)] uint stride, [Count(Computed = "type, stride"), Flow(FlowDirection.In)] ReadOnlySpan <T0> pointer) where T0 : unmanaged { // SpanOverloader thisApi.FogCoordPointer(type, stride, in pointer.GetPinnableReference()); }
public abstract void FogCoordPointer <T0>([Flow(FlowDirection.In)] FogPointerTypeEXT type, [Flow(FlowDirection.In)] uint stride, [Count(Computed = "type, stride"), Flow(FlowDirection.In)] ref T0 pointer) where T0 : unmanaged;
public static void FogCoordPointer(FogPointerTypeEXT type, Int32 stride, Object pointer) { GCHandle pin_pointer = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { FogCoordPointer(type, stride, pin_pointer.AddrOfPinnedObject()); } finally { pin_pointer.Free(); } }
public abstract unsafe void FogCoordPointer([Flow(FlowDirection.In)] FogPointerTypeEXT type, [Flow(FlowDirection.In)] uint stride, [Count(Computed = "type, stride"), Flow(FlowDirection.In)] void *pointer);
public static void FogCoordPointer(FogPointerTypeEXT type, Int32 stride, IntPtr pointer) { Debug.Assert(Delegates.pglFogCoordPointer != null, "pglFogCoordPointer not implemented"); Delegates.pglFogCoordPointer((Int32)type, stride, pointer); LogFunction("glFogCoordPointer({0}, {1}, 0x{2})", type, stride, pointer.ToString("X8")); DebugCheckErrors(null); }