Пример #1
0
 public static unsafe void ShadingRateSampleOrderCustom(this NVShadingRateImage thisApi, [Flow(FlowDirection.In)] NV rate, [Flow(FlowDirection.In)] uint samples, [Count(Computed = "rate, samples"), Flow(FlowDirection.In)] ReadOnlySpan <int> locations)
 {
     // SpanOverloader
     thisApi.ShadingRateSampleOrderCustom(rate, samples, in locations.GetPinnableReference());
 }
Пример #2
0
 public static unsafe void GetShadingRateSampleLocation(this NVShadingRateImage thisApi, [Flow(FlowDirection.In)] NV rate, [Flow(FlowDirection.In)] uint samples, [Flow(FlowDirection.In)] uint index, [Count(Count = 3), Flow(FlowDirection.Out)] Span <int> location)
 {
     // SpanOverloader
     thisApi.GetShadingRateSampleLocation(rate, samples, index, out location.GetPinnableReference());
 }
Пример #3
0
 public static unsafe void ShadingRateImagePalette(this NVShadingRateImage thisApi, [Flow(FlowDirection.In)] uint viewport, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <NV> rates)
 {
     // SpanOverloader
     thisApi.ShadingRateImagePalette(viewport, first, count, in rates.GetPinnableReference());
 }
Пример #4
0
 public static unsafe void GetShadingRateImagePalette(this NVShadingRateImage thisApi, [Flow(FlowDirection.In)] uint viewport, [Flow(FlowDirection.In)] uint entry, [Count(Count = 1), Flow(FlowDirection.Out)] Span <NV> rate)
 {
     // SpanOverloader
     thisApi.GetShadingRateImagePalette(viewport, entry, out rate.GetPinnableReference());
 }