GL.ShaderSource 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ShaderSource(UInt32, Int32, String[], Int32[])
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glShaderSource", Version="3.0")]
[System.CLSCompliant(false)]
public static void ShaderSource (uint shader, int count, string[] string, int[] length);
static member ShaderSource : uint32 * int * string[] * int[] -> unit
參數
- shader
- UInt32
- count
- Int32
- string
- String[]
- length
- Int32[]
- 屬性
適用於
ShaderSource(UInt32, Int32, String[], Int32*)
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glShaderSource", Version="3.0")]
[System.CLSCompliant(false)]
public static void ShaderSource (uint shader, int count, string[] string, int* length);
static member ShaderSource : uint32 * int * string[] * nativeptr<int> -> unit
參數
- shader
- UInt32
- count
- Int32
- string
- String[]
- length
- Int32*
- 屬性
適用於
ShaderSource(UInt32, Int32, String[], Int32)
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glShaderSource", Version="3.0")]
[System.CLSCompliant(false)]
public static void ShaderSource (uint shader, int count, string[] string, ref int length);
static member ShaderSource : uint32 * int * string[] * -> unit
參數
- shader
- UInt32
- count
- Int32
- string
- String[]
- length
- Int32
- 屬性
適用於
ShaderSource(Int32, Int32, String[], Int32)
ShaderSource(Int32, Int32, String[], Int32*)
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glShaderSource", Version="3.0")]
[System.CLSCompliant(false)]
public static void ShaderSource (int shader, int count, string[] string, int* length);
static member ShaderSource : int * int * string[] * nativeptr<int> -> unit
參數
- shader
- Int32
- count
- Int32
- string
- String[]
- length
- Int32*
- 屬性
適用於
ShaderSource(Int32, String)
ShaderSource(Int32, Int32, String[], Int32[])
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glShaderSource", Version="3.0")]
public static void ShaderSource (int shader, int count, string[] string, int[] length);
static member ShaderSource : int * int * string[] * int[] -> unit
參數
- shader
- Int32
- count
- Int32
- string
- String[]
- length
- Int32[]
- 屬性