コード例 #1
0
ファイル: GL_Wrappers.cs プロジェクト: huoxudong125/CSharpGL
 /// <summary>
 /// specifies the parameters for patch primitives
 /// </summary>
 /// <param name="pname">Specifies the name of the parameter to set.</param>
 /// <param name="values">Specifies the address of an array containing the new values for the parameter given by <paramref name="pname"/>​.</param>
 public static void PatchParameter(PatchParameterName pname, float[] values)
 {
     PatchParameter((uint)pname, values);
 }
コード例 #2
0
 public static unsafe void PatchParameter(this ArbTessellationShader thisApi, [Flow(FlowDirection.In)] PatchParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] ReadOnlySpan <float> values)
 {
     // SpanOverloader
     thisApi.PatchParameter(pname, in values.GetPinnableReference());
 }
コード例 #3
0
ファイル: GL_Wrappers.cs プロジェクト: huoxudong125/CSharpGL
 /// <summary>
 /// specifies the parameters for patch primitives
 /// </summary>
 /// <param name="pname">Specifies the name of the parameter to set.</param>
 /// <param name="value">Specifies the new value for the parameter given by <paramref name="pname"/>​.</param>
 public static void PatchParameter(PatchParameterName pname, int value)
 {
     PatchParameter((uint)pname, value);
 }
コード例 #4
0
 public partial void PatchParameter([Flow(FlowDirection.In)] PatchParameterName pname, [Flow(FlowDirection.In)] int value);
コード例 #5
0
 public abstract void PatchParameter([Flow(FlowDirection.In)] PatchParameterName pname, [Flow(FlowDirection.In)] int value);
コード例 #6
0
 /// <summary>
 /// specifies the parameters for patch primitives
 /// </summary>
 /// <param name="pname">Specifies the name of the parameter to set.</param>
 /// <param name="values">Specifies the address of an array containing the new values for the parameter given by <paramref name="pname"/>​.</param>
 public static void PatchParameter(PatchParameterName pname, float[] values)
 {
     PatchParameter((uint)pname, values);
 }
コード例 #7
0
 /// <summary>
 /// specifies the parameters for patch primitives
 /// </summary>
 /// <param name="pname">Specifies the name of the parameter to set.</param>
 /// <param name="value">Specifies the new value for the parameter given by <paramref name="pname"/>​.</param>
 public static void PatchParameter(PatchParameterName pname, int value)
 {
     PatchParameter((uint)pname, value);
 }
コード例 #8
0
 public abstract void PatchParameter([Flow(FlowDirection.In)] PatchParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] ref float values);