Click or drag to resize
ShaderCreateShader Method
Compile and return a shader object using the provided ShaderShaderCode object.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public static Shader CreateShader(
	ShaderShaderCode code
)

Parameters

code
Type: (Default Namespace)ShaderShaderCode
Determines which code should be the basis for this shader.

Return Value

Type: Shader
Shader object conencted to an OpenGL shader via a Handle value.
See Also