예제 #1
0
 public static unsafe void Uniform(this NVShaderBufferLoad thisApi, [Flow(FlowDirection.In)] int location, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <ulong> value)
 {
     // SpanOverloader
     thisApi.Uniform(location, count, in value.GetPinnableReference());
 }
예제 #2
0
 public static unsafe void GetNamedBufferParameter(this NVShaderBufferLoad thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferPNameARB pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <ulong> @params)
 {
     // SpanOverloader
     thisApi.GetNamedBufferParameter(buffer, pname, out @params.GetPinnableReference());
 }
예제 #3
0
 public static unsafe void GetUniform(this NVShaderBufferLoad thisApi, [Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] int location, [Count(Computed = "program, location"), Flow(FlowDirection.Out)] Span <ulong> @params)
 {
     // SpanOverloader
     thisApi.GetUniform(program, location, out @params.GetPinnableReference());
 }
예제 #4
0
 public static unsafe void GetInteger(this NVShaderBufferLoad thisApi, [Flow(FlowDirection.In)] NV value, [Count(Computed = "value"), Flow(FlowDirection.Out)] Span <ulong> result)
 {
     // SpanOverloader
     thisApi.GetInteger(value, out result.GetPinnableReference());
 }