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); }
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()); }
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()); }
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()); }
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()); }
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())); }