public static void IndexPointerEXT(IndexPointerType type, int stride, int count, IntPtr pointer) { Debug.Assert(Delegates.pglIndexPointerEXT != null, "pglIndexPointerEXT not implemented"); Delegates.pglIndexPointerEXT((int)type, stride, count, pointer); LogCommand("glIndexPointerEXT", null, type, stride, count, pointer); DebugCheckErrors(null); }
public static void IndexPointerEXT(IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) { Debug.Assert(Delegates.pglIndexPointerEXT != null, "pglIndexPointerEXT not implemented"); Delegates.pglIndexPointerEXT((Int32)type, stride, count, pointer); LogFunction("glIndexPointerEXT({0}, {1}, {2}, 0x{3})", type, stride, count, pointer.ToString("X8")); DebugCheckErrors(null); }
public static void IndexPointerEXT(IndexPointerType type, int stride, int count, object pointer) { GCHandle pin_pointer = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { IndexPointerEXT(type, stride, count, pin_pointer.AddrOfPinnedObject()); } finally { pin_pointer.Free(); } }
public static void IndexPointerListIBM(IndexPointerType type, Int32 stride, IntPtr[] pointer, Int32 ptrstride) { unsafe { fixed(IntPtr *p_pointer = pointer) { Debug.Assert(Delegates.pglIndexPointerListIBM != null, "pglIndexPointerListIBM not implemented"); Delegates.pglIndexPointerListIBM((Int32)type, stride, p_pointer, ptrstride); LogFunction("glIndexPointerListIBM({0}, {1}, {2}, {3})", type, stride, LogValue(pointer), ptrstride); } } DebugCheckErrors(null); }
public static void IndexPointerListIBM(IndexPointerType type, Int32 stride, IntPtr[] pointer, Int32 ptrstride) { unsafe { fixed(IntPtr *p_pointer = pointer) { Debug.Assert(Delegates.pglIndexPointerListIBM != null, "pglIndexPointerListIBM not implemented"); Delegates.pglIndexPointerListIBM((Int32)type, stride, p_pointer, ptrstride); LogCommand("glIndexPointerListIBM", null, type, stride, pointer, ptrstride); } } DebugCheckErrors(null); }
public void IndexPointer(IndexPointerType type, int stride, IntPtr pointer) { #if USE_OPENGL if (HardwareAvailable) { if (glHasBufferObjects || currentArrayBufferIndex == 0) { OpenTK.Graphics.OpenGL.GL.IndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, stride, pointer); } else { unsafe { fixed(byte *buffer = bufferData[currentArrayBufferIndex]) { OpenTK.Graphics.OpenGL.GL.IndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, stride, new IntPtr(&buffer[(int)pointer])); } } } } #endif }
public static unsafe void IndexPointerEXT( IndexPointerType type, int stride, int count, void* pointer ) { if (_IndexPointerEXT == null) throw new Exception( "Extension method IndexPointerEXT not found" ); _IndexPointerEXT( type, stride, count, pointer ); }
public static void IndexPointer(IndexPointerType type, int stride, int pointer) { IndexPointer(type, stride, (IntPtr)pointer); }
internal static extern void glIndexPointer(IndexPointerType type, Int32 stride, IntPtr pointer);
public static void IndexPointerListIBM(IndexPointerType type, Int32 stride, IntPtr[] pointer, Int32 ptrstride) { unsafe { fixed (IntPtr* p_pointer = pointer) { Debug.Assert(Delegates.pglIndexPointerListIBM != null, "pglIndexPointerListIBM not implemented"); Delegates.pglIndexPointerListIBM((Int32)type, stride, p_pointer, ptrstride); CallLog("glIndexPointerListIBM({0}, {1}, {2}, {3})", type, stride, pointer, ptrstride); } } DebugCheckErrors(); }
public void IndexPointer(IndexPointerType type, int stride, IntPtr pointer) { glIndexPointer((int)type, stride, pointer); }
public static void IndexPointer(IndexPointerType type, Int32 stride, Object pointer) { GCHandle pin_pointer = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { IndexPointer(type, stride, pin_pointer.AddrOfPinnedObject()); } finally { pin_pointer.Free(); } }
public static void VertexArrayIndexOffsetEXT(UInt32 vaobj, UInt32 buffer, IndexPointerType type, Int32 stride, IntPtr offset) { Debug.Assert(Delegates.pglVertexArrayIndexOffsetEXT != null, "pglVertexArrayIndexOffsetEXT not implemented"); Delegates.pglVertexArrayIndexOffsetEXT(vaobj, buffer, (Int32)type, stride, offset); CallLog("glVertexArrayIndexOffsetEXT({0}, {1}, {2}, {3}, 0x{4})", vaobj, buffer, type, stride, offset.ToString("X8")); DebugCheckErrors(); }
public static void IndexPointer(IndexPointerType type, int stride, IntPtr pointer) { gl.glIndexPointer((int)type, stride, pointer); }
public static void IndexPointer(IndexPointerType type, Int32 stride, IntPtr pointer) { Debug.Assert(Delegates.pglIndexPointer != null, "pglIndexPointer not implemented"); Delegates.pglIndexPointer((Int32)type, stride, pointer); LogFunction("glIndexPointer({0}, {1}, 0x{2})", type, stride, pointer.ToString("X8")); DebugCheckErrors(null); }
public static unsafe extern void IndexPointerListIBM( IndexPointerType type, int stride, void** pointer, int ptrstride );
public static void IndexPointerEXT(IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) { Debug.Assert(Delegates.pglIndexPointerEXT != null, "pglIndexPointerEXT not implemented"); Delegates.pglIndexPointerEXT((Int32)type, stride, count, pointer); CallLog("glIndexPointerEXT({0}, {1}, {2}, 0x{3})", type, stride, count, pointer.ToString("X8")); DebugCheckErrors(); }
public static void glIndexPointer(IndexPointerType type, Int32 stride, IntPtr pointer) { i_OpenGL1_1.glIndexPointer(type, stride, pointer); }
public static void IndexPointer(IndexPointerType type, int stride, int offset) { IndexPointer(type, stride, (IntPtr)offset); }
public static void IndexPointer(IndexPointerType type, int stride, IntPtr pointer) { Instance?.IndexPointer(type, stride, pointer); }
public abstract void IndexPointer <T0>([Flow(FlowDirection.In)] IndexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] uint count, [Count(Computed = "type, stride, count"), Flow(FlowDirection.In)] ref T0 pointer) where T0 : unmanaged;
public abstract unsafe void IndexPointerList([Flow(FlowDirection.In)] IndexPointerType type, [Flow(FlowDirection.In)] int stride, [Count(Computed = "type, stride"), Flow(FlowDirection.In)] void **pointer, [Flow(FlowDirection.In)] int ptrstride);
public static unsafe extern void IndexPointer( IndexPointerType type, int stride, void* pointer );
public static unsafe void IndexPointer <T0>(this ExtVertexArray thisApi, [Flow(FlowDirection.In)] IndexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] uint count, [Count(Computed = "type, stride, count"), Flow(FlowDirection.In)] ReadOnlySpan <T0> pointer) where T0 : unmanaged { // SpanOverloader thisApi.IndexPointer(type, stride, count, in pointer.GetPinnableReference()); }
public abstract unsafe void IndexPointerList <T0>([Flow(FlowDirection.In)] IndexPointerType type, [Flow(FlowDirection.In)] int stride, [Count(Computed = "type, stride"), Flow(FlowDirection.In)] ref T0 *pointer, [Flow(FlowDirection.In)] int ptrstride) where T0 : unmanaged;
//public void IndexPointer(IndexPointerType type, int stride, short[] pointer) //{ // gl.glIndexPointer((int)type, stride, pointer); // CheckException(); //} //public void IndexPointer(IndexPointerType type, int stride, int[] pointer) //{ // gl.glIndexPointer((int)type, stride, pointer); // CheckException(); //} //public void IndexPointer(IndexPointerType type, int stride, float[] pointer) //{ // gl.glIndexPointer((int)type, stride, pointer); // CheckException(); //} //public void IndexPointer(IndexPointerType type, int stride, double[] pointer) //{ // gl.glIndexPointer((int)type, stride, pointer); // CheckException(); //} public void IndexPointer(IndexPointerType type, int stride, IntPtr pointer) { gl.glIndexPointer((int)type, stride, pointer); CheckException(); }
public abstract unsafe void IndexPointer([Flow(FlowDirection.In)] IndexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] uint count, [Count(Computed = "type, stride, count"), Flow(FlowDirection.In)] void *pointer);