Ejemplo n.º 1
0
 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());
 }
Ejemplo n.º 2
0
 public static unsafe void GenQueries(this ArbOcclusionQuery thisApi, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.Out)] Span <uint> ids)
 {
     // SpanOverloader
     thisApi.GenQueries(n, out ids.GetPinnableReference());
 }
Ejemplo n.º 3
0
 public static unsafe void GetQuery(this ArbOcclusionQuery thisApi, [Flow(FlowDirection.In)] QueryTarget target, [Flow(FlowDirection.In)] ARB pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetQuery(target, pname, out @params.GetPinnableReference());
 }
Ejemplo n.º 4
0
 public static unsafe void DeleteQueries(this ArbOcclusionQuery thisApi, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] ReadOnlySpan <uint> ids)
 {
     // SpanOverloader
     thisApi.DeleteQueries(n, in ids.GetPinnableReference());
 }