Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit Coding Reference
Shader Class
Shader Methods
CreateShader Method
Dispose Method
Shader
CreateShader Method
Compile and return a shader object using the provided
Shader
ShaderCode
object.
Namespace:
(Default Namespace)
Assembly:
Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
Copy
public
static
Shader
CreateShader
(
Shader
ShaderCode
code
)
Parameters
code
Type:
(Default Namespace)
Shader
ShaderCode
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
Reference
Shader Class
(Default Namespace) Namespace
Send comments on this topic to
bluemonkmn@users.sourceforge.net