Beispiel #1
0
 public static unsafe void GetActiveUniform(this ArbShaderObjects thisApi, [Flow(FlowDirection.In)] uint programObj, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint maxLength, [Count(Count = 1), Flow(FlowDirection.Out)] Span <uint> length, [Count(Count = 1), Flow(FlowDirection.Out)] int *size, [Count(Count = 1), Flow(FlowDirection.Out)] ARB *type, [Count(Parameter = "maxLength"), Flow(FlowDirection.Out)] Span <string> name)
 {
     // SpanOverloader
     thisApi.GetActiveUniform(programObj, index, maxLength, out length.GetPinnableReference(), size, type, out name.GetPinnableReference());
 }
Beispiel #2
0
 public static unsafe void ShaderSource(this ArbShaderObjects thisApi, [Flow(FlowDirection.In)] uint shaderObj, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in byte * @string, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <int> length)
Beispiel #3
0
 public static unsafe void GetActiveUniform(this ArbShaderObjects 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)] Span <ARB> type, [Count(Parameter = "maxLength"), Flow(FlowDirection.Out)] Span <byte> name)
 {
     // SpanOverloader
     thisApi.GetActiveUniform(programObj, index, maxLength, length, out size.GetPinnableReference(), out type.GetPinnableReference(), out name.GetPinnableReference());
 }
Beispiel #4
0
 public static unsafe int GetUniformLocation(this ArbShaderObjects thisApi, [Flow(FlowDirection.In)] uint programObj, [Flow(FlowDirection.In)] ReadOnlySpan <byte> name)
 {
     // SpanOverloader
     return(thisApi.GetUniformLocation(programObj, in name.GetPinnableReference()));
 }
Beispiel #5
0
 public static unsafe void ShaderSource(this ArbShaderObjects thisApi, [Flow(FlowDirection.In)] uint shaderObj, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] byte ** @string, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <int> length)
 {
     // SpanOverloader
     thisApi.ShaderSource(shaderObj, count, @string, in length.GetPinnableReference());
 }
Beispiel #6
0
 public static unsafe void GetUniform(this ArbShaderObjects thisApi, [Flow(FlowDirection.In)] uint programObj, [Flow(FlowDirection.In)] int location, [Count(Computed = "programObj, location"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetUniform(programObj, location, out @params.GetPinnableReference());
 }
Beispiel #7
0
 public static unsafe void GetShaderSource(this ArbShaderObjects thisApi, [Flow(FlowDirection.In)] uint obj, [Flow(FlowDirection.In)] uint maxLength, [Count(Count = 1), Flow(FlowDirection.Out)] Span <uint> length, [Count(Parameter = "maxLength"), Flow(FlowDirection.Out)] Span <string> source)
 {
     // SpanOverloader
     thisApi.GetShaderSource(obj, maxLength, out length.GetPinnableReference(), out source.GetPinnableReference());
 }
Beispiel #8
0
 public static unsafe void GetObjectParameter(this ArbShaderObjects thisApi, [Flow(FlowDirection.In)] uint obj, [Flow(FlowDirection.In)] ARB pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetObjectParameter(obj, pname, out @params.GetPinnableReference());
 }
Beispiel #9
0
 public static unsafe void GetInfoLog(this ArbShaderObjects thisApi, [Flow(FlowDirection.In)] uint obj, [Flow(FlowDirection.In)] uint maxLength, [Count(Count = 1), Flow(FlowDirection.Out)] Span <uint> length, [Count(Parameter = "maxLength"), Flow(FlowDirection.Out)] Span <byte> infoLog)
 {
     // SpanOverloader
     thisApi.GetInfoLog(obj, maxLength, out length.GetPinnableReference(), out infoLog.GetPinnableReference());
 }
Beispiel #10
0
 public static unsafe void GetAttachedObjects(this ArbShaderObjects thisApi, [Flow(FlowDirection.In)] uint containerObj, [Flow(FlowDirection.In)] uint maxCount, [Count(Count = 1), Flow(FlowDirection.Out)] Span <uint> count, [Count(Parameter = "maxCount"), Flow(FlowDirection.Out)] Span <uint> obj)
 {
     // SpanOverloader
     thisApi.GetAttachedObjects(containerObj, maxCount, out count.GetPinnableReference(), out obj.GetPinnableReference());
 }