GL.ShaderSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ShaderSource(UInt32, Int32, String[], Int32[])
Important
This API is not CLS-compliant.
[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
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="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
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="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
Parameters
- shader
- UInt32
- count
- Int32
- string
- String[]
- length
- Int32
- Attributes
Applies to
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
Parameters
- shader
- Int32
- count
- Int32
- string
- String[]
- length
- Int32
- Attributes
Applies to
ShaderSource(Int32, Int32, String[], Int32*)
Important
This API is not CLS-compliant.
[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
Parameters
- shader
- Int32
- count
- Int32
- string
- String[]
- length
- Int32*
- Attributes
Applies to
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
Parameters
- shader
- Int32
- count
- Int32
- string
- String[]
- length
- Int32[]
- Attributes