Exemplo n.º 1
0
 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());
 }
Exemplo n.º 2
0
 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;
Exemplo n.º 3
0
		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();
			}
		}
Exemplo n.º 4
0
 public abstract unsafe void FogCoordPointer([Flow(FlowDirection.In)] FogPointerTypeEXT type, [Flow(FlowDirection.In)] uint stride, [Count(Computed = "type, stride"), Flow(FlowDirection.In)] void *pointer);
Exemplo n.º 5
0
		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);
		}