Clutter::Cogl::Shader(3pm)
NAME
Clutter::Cogl::Shader
METHODS
- handle = Clutter::Cogl::Shader->new ($shader_type)
- o $shader_type (Clutter::Cogl::ShaderType)
- $shader->compile
string = $shader->get_info_log $shader->set_source ($source) - o $source (string)
- shadertype = $shader->get_type
ENUMS AND FLAGS
- enum Clutter::Cogl::ShaderType
- o 'vertex' / 'COGL_SHADER_TYPE_VERTEX'
- o '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:
o the GNU Lesser General Public Library version 2.1; or
o the Artistic License, version 2.0.
- See Clutter for the full copyright notice.