/// <summary> /// Returns a pointer. /// </summary> /// <param name="pname">The Pointer name to retrive.</param> /// <param name="ptr"></param> public static void GetPointerv(GetPointerName pname, out IntPtr ptr) { //IntPtr tmpptr = IntPtr.Zero; //Delegates.glGetPointerv(pname, out tmpptr); //ptr = tmpptr; Delegates.glGetPointerv(pname, out ptr); }
/// <summary> /// Retrives pointer info for a VAO? /// </summary> /// <param name="vaobj">id of VertexArrayObject to query</param> /// <param name="pname"></param> /// <returns></returns> public static IntPtr GetVertexArrayPointervEXT(uint vaobj, GetPointerName pname) { IntPtr ptr = IntPtr.Zero; Delegates.glGetVertexArrayPointervEXT(vaobj, pname, ref ptr); return(ptr); }
public static void GetVertexArrayPointeri_vEXT(uint vaobj, uint index, GetPointerName pname, out IntPtr ptr) { Delegates.glGetVertexArrayPointeri_vEXT(vaobj, index, pname, out ptr); }
/// <summary> /// Retrives pointer info for a VAO? /// </summary> /// <param name="vaobj">id of VertexArrayObject to query</param> /// <param name="pname"></param> /// <param name="ptr"></param> public static void GetVertexArrayPointervEXT(uint vaobj, GetPointerName pname, ref IntPtr ptr) { Delegates.glGetVertexArrayPointervEXT(vaobj, pname, ref ptr); }
public static void GetVertexArrayPointeri_vEXT(uint vaobj, uint index, GetPointerName pname, out IntPtr ptr) { Delegates.glGetVertexArrayPointeri_vEXT(vaobj, index, pname, out ptr); }
/// <summary> /// Retrives pointer info for a VAO? /// </summary> /// <param name="vaobj">id of VertexArrayObject to query</param> /// <param name="pname"></param> /// <returns></returns> public static IntPtr GetVertexArrayPointervEXT(uint vaobj, GetPointerName pname) { IntPtr ptr = IntPtr.Zero; Delegates.glGetVertexArrayPointervEXT(vaobj, pname, ref ptr); return ptr; }
/// <summary> /// Retrives pointer info for a VAO? /// </summary> /// <param name="vaobj">id of VertexArrayObject to query</param> /// <param name="pname"></param> /// <param name="ptr"></param> public static void GetVertexArrayPointervEXT(uint vaobj, GetPointerName pname, ref IntPtr ptr) { Delegates.glGetVertexArrayPointervEXT(vaobj, pname, ref ptr); }
/// <summary> /// Returns a pointer. /// </summary> /// <param name="pname">The Pointer name to retrive.</param> /// <param name="ptr"></param> public static void GetPointerv(GetPointerName pname, out IntPtr ptr) { //IntPtr tmpptr = IntPtr.Zero; //Delegates.glGetPointerv(pname, out tmpptr); //ptr = tmpptr; Delegates.glGetPointerv(pname, out ptr); }