コード例 #1
0
 public static unsafe void ExtGetProgramBinarySource(this QComExtendedGet2 thisApi, [Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] QCOM shadertype, [Flow(FlowDirection.Out)] Span <byte> source, [Flow(FlowDirection.Out)] int *length)
 {
     // SpanOverloader
     thisApi.ExtGetProgramBinarySource(program, shadertype, out source.GetPinnableReference(), length);
 }
コード例 #2
0
 public static unsafe void ExtGetProgramBinarySource(this QComExtendedGet2 thisApi, [Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] ShaderType shadertype, [Flow(FlowDirection.Out)] byte *source, [Flow(FlowDirection.Out)] Span <int> length)
 {
     // SpanOverloader
     thisApi.ExtGetProgramBinarySource(program, shadertype, source, out length.GetPinnableReference());
 }
コード例 #3
0
 public static unsafe void ExtGetProgramBinarySource(this QComExtendedGet2 thisApi, [Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] QCOM shadertype, [Count(Parameter = "length"), Flow(FlowDirection.Out)] Span <string> source, [Flow(FlowDirection.Out)] Span <int> length)
 {
     // SpanOverloader
     thisApi.ExtGetProgramBinarySource(program, shadertype, out source.GetPinnableReference(), out length.GetPinnableReference());
 }