Ejemplo n.º 1
0
 public static unsafe void GetActiveSubroutineUniform(this ArbShaderSubroutine thisApi, [Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] ShaderType shadertype, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] SubroutineParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> values)
 {
     // SpanOverloader
     thisApi.GetActiveSubroutineUniform(program, shadertype, index, pname, out values.GetPinnableReference());
 }
Ejemplo n.º 2
0
 public static unsafe void GetActiveSubroutineName(this ArbShaderSubroutine thisApi, [Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] ShaderType shadertype, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(FlowDirection.Out)] Span <uint> length, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] Span <string> name)
 {
     // SpanOverloader
     thisApi.GetActiveSubroutineName(program, shadertype, index, bufSize, out length.GetPinnableReference(), out name.GetPinnableReference());
 }
Ejemplo n.º 3
0
 public static unsafe void UniformSubroutines(this ArbShaderSubroutine thisApi, [Flow(FlowDirection.In)] ShaderType shadertype, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan <uint> indices)
 {
     // SpanOverloader
     thisApi.UniformSubroutines(shadertype, count, in indices.GetPinnableReference());
 }
Ejemplo n.º 4
0
 public static unsafe void GetUniformSubroutine(this ArbShaderSubroutine thisApi, [Flow(FlowDirection.In)] ShaderType shadertype, [Flow(FlowDirection.In)] int location, [Count(Count = 1), Flow(FlowDirection.Out)] Span <uint> @params)
 {
     // SpanOverloader
     thisApi.GetUniformSubroutine(shadertype, location, out @params.GetPinnableReference());
 }
Ejemplo n.º 5
0
 public static unsafe int GetSubroutineUniformLocation(this ArbShaderSubroutine thisApi, [Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] ShaderType shadertype, [Flow(FlowDirection.In)] ReadOnlySpan <byte> name)
 {
     // SpanOverloader
     return(thisApi.GetSubroutineUniformLocation(program, shadertype, in name.GetPinnableReference()));
 }
Ejemplo n.º 6
0
 public static unsafe void GetProgramStage(this ArbShaderSubroutine thisApi, [Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] ShaderType shadertype, [Flow(FlowDirection.In)] ProgramStagePName pname, [Count(Count = 1), Flow(FlowDirection.Out)] Span <int> values)
 {
     // SpanOverloader
     thisApi.GetProgramStage(program, shadertype, pname, out values.GetPinnableReference());
 }