Ejemplo n.º 1
0
 public static unsafe void SpecializeShader(this ArbGlSpirv thisApi, [Flow(FlowDirection.In)] uint shader, [Flow(FlowDirection.In)] string pEntryPoint, [Flow(FlowDirection.In)] uint numSpecializationConstants, [Flow(FlowDirection.In)] ReadOnlySpan <uint> pConstantIndex, [Flow(FlowDirection.In)] ReadOnlySpan <uint> pConstantValue)
 {
     // SpanOverloader
     thisApi.SpecializeShader(shader, pEntryPoint, numSpecializationConstants, in pConstantIndex.GetPinnableReference(), in pConstantValue.GetPinnableReference());
 }
Ejemplo n.º 2
0
 public static unsafe void SpecializeShader(this ArbGlSpirv thisApi, [Flow(FlowDirection.In)] uint shader, [Flow(FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string pEntryPoint, [Flow(FlowDirection.In)] uint numSpecializationConstants, [Flow(FlowDirection.In)] ReadOnlySpan <uint> pConstantIndex, [Flow(FlowDirection.In)] uint *pConstantValue)
 {
     // SpanOverloader
     thisApi.SpecializeShader(shader, pEntryPoint, numSpecializationConstants, in pConstantIndex.GetPinnableReference(), pConstantValue);
 }