예제 #1
0
 public static unsafe void GenOcclusionQueries(this NVOcclusionQuery thisApi, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.Out)] Span <uint> ids)
 {
     // SpanOverloader
     thisApi.GenOcclusionQueries(n, out ids.GetPinnableReference());
 }
예제 #2
0
 public static unsafe void GetOcclusionQuery(this NVOcclusionQuery thisApi, [Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] OcclusionQueryParameterNameNV pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <uint> @params)
 {
     // SpanOverloader
     thisApi.GetOcclusionQuery(id, pname, out @params.GetPinnableReference());
 }
예제 #3
0
 public static unsafe void DeleteOcclusionQueries(this NVOcclusionQuery thisApi, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] ReadOnlySpan <uint> ids)
 {
     // SpanOverloader
     thisApi.DeleteOcclusionQueries(n, in ids.GetPinnableReference());
 }