GL.ShaderSource 方法

定义

重载

ShaderSource(UInt32, Int32, String[], Int32[])
ShaderSource(UInt32, Int32, String[], Int32*)
ShaderSource(UInt32, Int32, String[], Int32)
ShaderSource(Int32, Int32, String[], Int32)
ShaderSource(Int32, Int32, String[], Int32*)
ShaderSource(Int32, String)
ShaderSource(Int32, Int32, String[], 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[] * 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)

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glShaderSource", Version="3.0")]
public static void ShaderSource (int shader, int count, string[] string, ref int length);
static member ShaderSource : int * int * string[] *  -> unit

参数

shader
Int32
count
Int32
string
String[]
length
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)

public static void ShaderSource (int shader, string string);
static member ShaderSource : int * string -> unit

参数

shader
Int32
string
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[]
属性

适用于