public static void GetQueryObjectuivEXT(uint id, QueryObjectParameterName pname, out uint @params) { unsafe { fixed(uint *p_params = & @params) { Debug.Assert(Delegates.pglGetQueryObjectuivEXT != null, "pglGetQueryObjectuivEXT not implemented"); Delegates.pglGetQueryObjectuivEXT(id, (int)pname, p_params); LogCommand("glGetQueryObjectuivEXT", null, id, pname, @params); } } DebugCheckErrors(null); }
public static void GetQueryObjectuivEXT(UInt32 id, QueryObjectParameterName pname, [Out] UInt32[] @params) { unsafe { fixed(UInt32 *p_params = @params) { Debug.Assert(Delegates.pglGetQueryObjectuivEXT != null, "pglGetQueryObjectuivEXT not implemented"); Delegates.pglGetQueryObjectuivEXT(id, (Int32)pname, p_params); LogCommand("glGetQueryObjectuivEXT", null, id, pname, @params); } } DebugCheckErrors(null); }
public static unsafe void GetQueryObject(this ArbOcclusionQuery thisApi, [Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <uint> @params) { // SpanOverloader thisApi.GetQueryObject(id, pname, out @params.GetPinnableReference()); }
public abstract void GetQueryObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out uint @params);
public unsafe partial void GetQueryObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] ulong * @params);
/// <summary> /// Update the buffer given in GLOperationQuery. /// See <href>https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glGetQueryObject.xhtml</href> /// </summary> /// <param name="offset">Offset into buffer to write the data to</param> /// <param name="pname">Query parameter, nominally QueryResult. Also GL_QUERY_RESULT_NO_WAIT or GL_QUERY_RESULT_AVAILABLE. (use OpenTK Names)</param> public void UpdateBuffer(int offset, QueryObjectParameterName pname = QueryObjectParameterName.QueryResult) // store in buffer at offset the result { GL.GetQueryBufferObject(Query.Id, Query.QueryBuffer.Id, pname, (IntPtr)offset); GLStatics.Check(); }