Function
Coglcreate_shader
Declaration [src]
CoglHandle
cogl_create_shader (
CoglShaderType shader_type
)
Description [src]
Create a new shader handle, use cogl_shader_source()
to set the
source code to be used on it.
Deprecated since: | 1.16 |
Use |
Parameters
shader_type |
CoglShaderType |
COGL_SHADER_TYPE_VERTEX or COGL_SHADER_TYPE_FRAGMENT. |
Return value
Returns: | CoglHandle |
A new shader handle. |