Edit

Share via


GL.CreateShader Method

Definition

Overloads

CreateShader(All)
Obsolete.
CreateShader(ShaderType)

CreateShader(All)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glCreateShader", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static int CreateShader (OpenTK.Graphics.ES20.All type);
static member CreateShader : OpenTK.Graphics.ES20.All -> int

Parameters

type
All

Returns

Attributes

Applies to

CreateShader(ShaderType)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glCreateShader", Version="2.0")]
public static int CreateShader (OpenTK.Graphics.ES20.ShaderType type);
static member CreateShader : OpenTK.Graphics.ES20.ShaderType -> int

Parameters

type
ShaderType

Returns

Attributes

Applies to