예제 #1
0
 public static unsafe void GetActiveAttrib(this ArbVertexShader thisApi, [Flow(FlowDirection.In)] uint programObj, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint maxLength, [Count(Count = 1), Flow(FlowDirection.Out)] uint *length, [Count(Count = 1), Flow(FlowDirection.Out)] Span <int> size, [Count(Count = 1), Flow(FlowDirection.Out)] ARB *type, [Count(Parameter = "maxLength"), Flow(FlowDirection.Out)] byte *name)
 {
     // SpanOverloader
     thisApi.GetActiveAttrib(programObj, index, maxLength, length, out size.GetPinnableReference(), type, name);
 }
예제 #2
0
 public static unsafe void VertexAttribPointer <T0>(this ArbVertexShader thisApi, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribPointerType type, [Flow(FlowDirection.In)] bool normalized, [Flow(FlowDirection.In)] uint stride, [Count(Computed = "size, type, stride"), Flow(FlowDirection.In)] ReadOnlySpan <T0> pointer) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.VertexAttribPointer(index, size, type, normalized, stride, in pointer.GetPinnableReference());
 }
예제 #3
0
 public static unsafe void GetActiveAttrib(this ArbVertexShader thisApi, [Flow(FlowDirection.In)] uint programObj, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint maxLength, [Count(Count = 1), Flow(FlowDirection.Out)] uint *length, [Count(Count = 1), Flow(FlowDirection.Out)] int *size, [Count(Count = 1), Flow(FlowDirection.Out)] Span <ARB> type, [Count(Parameter = "maxLength"), Flow(FlowDirection.Out)] Span <string> name)
 {
     // SpanOverloader
     thisApi.GetActiveAttrib(programObj, index, maxLength, length, size, out type.GetPinnableReference(), out name.GetPinnableReference());
 }
예제 #4
0
 public static unsafe void VertexAttrib4N(this ArbVertexShader thisApi, [Flow(FlowDirection.In)] uint index, [Count(Count = 4), Flow(FlowDirection.In)] ReadOnlySpan <uint> v)
 {
     // SpanOverloader
     thisApi.VertexAttrib4N(index, in v.GetPinnableReference());
 }
예제 #5
0
 public static unsafe void GetVertexAttrib(this ArbVertexShader thisApi, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] VertexAttribPropertyARB pname, [Count(Count = 4), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetVertexAttrib(index, pname, out @params.GetPinnableReference());
 }
예제 #6
0
 public static unsafe int GetAttribLocation(this ArbVertexShader thisApi, [Flow(FlowDirection.In)] uint programObj, [Flow(FlowDirection.In)] ReadOnlySpan <byte> name)
 {
     // SpanOverloader
     return(thisApi.GetAttribLocation(programObj, in name.GetPinnableReference()));
 }