Also extends Rewrite to understand the new syntax of "*name".
</param>
</function>
</replace>
-</signatures>
+
+ <!-- ExtGetProgramBinarySourceQCOM -->
+ <replace name="gl|glcore|gles1|gles2">
+ <!-- ExtGetProgramBinarySourceQCOM is missing count attributes -->
+ <function name="ExtGetProgramBinarySourceQCOM" extension="QCOM">
+ <param name="source">
+ <count>*length</count>
+ </param>
+ </function>
+ </replace>
+</signatures>
\ No newline at end of file
var countVariable = new VariableDefinition(TypeInt32);
body.Variables.Add(countVariable);
- // Parameter will either by a simple name or an
- // expression like "name*5"
+ // Parameter will either by a simple name, a dereference of a name
+ // like "*name" or an expression like "name*5"
var parameter = method.Parameters.FirstOrDefault(
param => param.Name == countParameter);
if (parameter != null)
il.Emit(OpCodes.Ldarg, parameter.Index);
il.Emit(OpCodes.Stloc, countVariable.Index);
}
+ else if (countParameter[0] == '*')
+ {
+ var pointerParam = method.Parameters.FirstOrDefault(
+ param => param.Name == countParameter.Substring(1));
+
+ il.Emit(OpCodes.Ldarg, pointerParam.Index);
+ il.Emit(OpCodes.Ldind_I4);
+ }
else
{
var operands = countParameter.Split('*');
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
+ public static unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
+ public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="programs">[length: maxPrograms]</param>
private static extern unsafe void glExtGetFramebuffersQCOM([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers);
[Slot(96)]
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
- private static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute] IntPtr source, [OutAttribute] Int32* length);
+ private static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] IntPtr source, [OutAttribute] Int32* length);
[Slot(97)]
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
private static extern unsafe void glExtGetProgramsQCOM([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms);
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
+ public static unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
+ public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="programs">[length: maxPrograms]</param>
private static extern unsafe void glExtGetFramebuffersQCOM([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers);
[Slot(161)]
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
- private static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute] IntPtr source, [OutAttribute] Int32* length);
+ private static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] IntPtr source, [OutAttribute] Int32* length);
[Slot(162)]
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
private static extern unsafe void glExtGetProgramsQCOM([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms);
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
+ public static unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
+ public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="programs">[length: maxPrograms]</param>
private static extern unsafe void glExtGetFramebuffersQCOM([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers);
[Slot(189)]
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
- private static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute] IntPtr source, [OutAttribute] Int32* length);
+ private static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] IntPtr source, [OutAttribute] Int32* length);
[Slot(190)]
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
private static extern unsafe void glExtGetProgramsQCOM([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms);
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
+ public static unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32[] length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
+ public static void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] out Int32 length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="program"></param>
/// <param name="shadertype"></param>
- /// <param name="source"></param>
+ /// <param name="source">[length: *length]</param>
/// <param name="length"></param>
[AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
[CLSCompliant(false)]
- public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
+ public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: QCOM_extended_get2]</summary>
/// <param name="programs">[length: maxPrograms]</param>
private static extern unsafe void glExtGetFramebuffersQCOM([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers);
[Slot(199)]
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
- private static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute] IntPtr source, [OutAttribute] Int32* length);
+ private static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute, CountAttribute(Parameter = "*length")] IntPtr source, [OutAttribute] Int32* length);
[Slot(200)]
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
private static extern unsafe void glExtGetProgramsQCOM([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms);