NAME
Clutter::Cogl::Shader
METHODS
handle = Clutter::Cogl::Shader->new ($shader_type)
- •
-
$shader_type(Clutter::Cogl::ShaderType)
$shader->compile
string = $shader->get_info_log
$shader->set_source ($source)
- •
-
$source(string)
shadertype = $shader->get_type
ENUMS AND FLAGS
enum Clutter::Cogl::ShaderType
- •
-
'vertex' / 'COGL_SHADER_TYPE_VERTEX'
- •
-
'fragment' / 'COGL_SHADER_TYPE_FRAGMENT'
SEE ALSO
Clutter
COPYRIGHT
Copyright (C) 2006, 2007, 2008 OpenedHand Ltd
Copyright (C) 2009 Intel Corporation
This module is free software; you can redistribute it and/or modify it under the terms of either:
- •
-
the GNU Lesser General Public Library version 2.1; or
- •
-
the Artistic License, version 2.0.
See Clutter for the full copyright notice.