public static unsafe void DrawElementsIndirect <T0>(this ArbDrawIndirect thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan <T0> indirect) where T0 : unmanaged { // SpanOverloader thisApi.DrawElementsIndirect(mode, type, in indirect.GetPinnableReference()); }
public static unsafe void DrawArraysIndirect <T0>(this ArbDrawIndirect thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ReadOnlySpan <T0> indirect) where T0 : unmanaged { // SpanOverloader thisApi.DrawArraysIndirect(mode, in indirect.GetPinnableReference()); }