コード例 #1
0
 public static unsafe void ProgramString <T0>(this ArbVertexProgram thisApi, [Flow(FlowDirection.In)] ProgramTarget target, [Flow(FlowDirection.In)] ProgramFormat format, [Flow(FlowDirection.In)] uint len, [Count(Parameter = "len"), Flow(FlowDirection.In)] ReadOnlySpan <T0> @string) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.ProgramString(target, format, len, in @string.GetPinnableReference());
 }
コード例 #2
0
 public static unsafe void ProgramLocalParameter4(this ArbVertexProgram thisApi, [Flow(FlowDirection.In)] ProgramTarget target, [Flow(FlowDirection.In)] uint index, [Count(Count = 4), Flow(FlowDirection.In)] ReadOnlySpan <float> @params)
 {
     // SpanOverloader
     thisApi.ProgramLocalParameter4(target, index, in @params.GetPinnableReference());
 }
コード例 #3
0
 public static unsafe void DeleteProgram(this ArbVertexProgram thisApi, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] ReadOnlySpan <Program> programs)
 {
     // SpanOverloader
     thisApi.DeleteProgram(n, in programs.GetPinnableReference());
 }
コード例 #4
0
 public static unsafe void GetProgramString <T0>(this ArbVertexProgram thisApi, [Flow(FlowDirection.In)] ProgramTarget target, [Flow(FlowDirection.In)] ProgramStringProperty pname, [Count(Computed = "target, pname"), Flow(FlowDirection.Out)] Span <T0> @string) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.GetProgramString(target, pname, out @string.GetPinnableReference());
 }
コード例 #5
0
 public static unsafe void GetVertexAttrib(this ArbVertexProgram 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 void GetProgramLocalParameter(this ArbVertexProgram thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint index, [Count(Count = 4), Flow(FlowDirection.Out)] Span <float> @params)
 {
     // SpanOverloader
     thisApi.GetProgramLocalParameter(target, index, out @params.GetPinnableReference());
 }
コード例 #7
0
 public static unsafe void GetProgram(this ArbVertexProgram thisApi, [Flow(FlowDirection.In)] ProgramTarget target, [Flow(FlowDirection.In)] ProgramPropertyARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetProgram(target, pname, out @params.GetPinnableReference());
 }
コード例 #8
0
 public static unsafe void VertexAttrib4N(this ArbVertexProgram thisApi, [Flow(FlowDirection.In)] uint index, [Count(Count = 4), Flow(FlowDirection.In)] ReadOnlySpan <ushort> v)
 {
     // SpanOverloader
     thisApi.VertexAttrib4N(index, in v.GetPinnableReference());
 }
コード例 #9
0
 public static unsafe void GenProgram(this ArbVertexProgram thisApi, [Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.Out)] Span <Program> programs)
 {
     // SpanOverloader
     thisApi.GenProgram(n, out programs.GetPinnableReference());
 }
コード例 #10
0
 public static unsafe void VertexAttribPointer <T0>(this ArbVertexProgram thisApi, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribPointerType type, [Flow(FlowDirection.In)] Boolean 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());
 }