Upravit

Sdílet prostřednictvím


GL.ShaderSource Method

Definition

Overloads

ShaderSource(UInt32, Int32, String[], Int32)
ShaderSource(UInt32, Int32, String[], Int32*)
ShaderSource(Int32, Int32, String[], Int32[])
ShaderSource(UInt32, Int32, String[], Int32[])
ShaderSource(Int32, Int32, String[], Int32)
ShaderSource(Int32, String)
ShaderSource(Int32, Int32, String[], Int32*)

ShaderSource(UInt32, Int32, String[], Int32)

Important

This API is not CLS-compliant.

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

Parameters

shader
UInt32
count
Int32
string
String[]
length
Int32
Attributes

Applies to

ShaderSource(UInt32, Int32, String[], Int32*)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glShaderSource", Version="2.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

Parameters

shader
UInt32
count
Int32
string
String[]
length
Int32*
Attributes

Applies to

ShaderSource(Int32, Int32, String[], Int32[])

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

Parameters

shader
Int32
count
Int32
string
String[]
length
Int32[]
Attributes

Applies to

ShaderSource(UInt32, Int32, String[], Int32[])

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glShaderSource", Version="2.0")]
[System.CLSCompliant(false)]
public static void ShaderSource (uint shader, int count, string[] string, int[] length);
static member ShaderSource : uint32 * int * string[] * int[] -> unit

Parameters

shader
UInt32
count
Int32
string
String[]
length
Int32[]
Attributes

Applies to

ShaderSource(Int32, Int32, String[], Int32)

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

Parameters

shader
Int32
count
Int32
string
String[]
length
Int32
Attributes

Applies to

ShaderSource(Int32, String)

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

Parameters

shader
Int32
string
String

Applies to

ShaderSource(Int32, Int32, String[], Int32*)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glShaderSource", Version="2.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

Parameters

shader
Int32
count
Int32
string
String[]
length
Int32*
Attributes

Applies to