GL.CreateShader 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
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