Clutter::Shader Class Reference

#include <shader.h>

Inheritance diagram for Clutter::Shader:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~Shader ()
ClutterShader * gobj ()
 Provides access to the underlying C GObject.
const ClutterShader * gobj () const
 Provides access to the underlying C GObject.
ClutterShader * gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
void set_vertex_source (const std::string &source_code)
std::string get_vertex_source () const
 FIXME.
void set_fragment_source (const std::string &source_code)
std::string get_fragment_source () const
 FIXME.
bool bind ()
 FIXME.
void release ()
 FIXME.
bool is_bound () const
 FIXME.
void set_is_enabled (bool enabled=true)
 FIXME.
bool get_is_enabled () const
 FIXME.
Glib::PropertyProxy_ReadOnly
< bool > 
property_bound () const
 Whether the shader is bound.
Glib::PropertyProxy< bool > property_enabled ()
 Whether the shader is enabled.
Glib::PropertyProxy_ReadOnly
< bool > 
property_enabled () const
 Whether the shader is enabled.
Glib::PropertyProxy< std::string > property_fragment_source ()
 Source of fragment shader.
Glib::PropertyProxy_ReadOnly
< std::string > 
property_fragment_source () const
 Source of fragment shader.
Glib::PropertyProxy< std::string > property_vertex_source ()
 Source of vertex shader.
Glib::PropertyProxy_ReadOnly
< std::string > 
property_vertex_source () const
 Source of vertex shader.

Static Public Member Functions

static Glib::RefPtr< Shadercreate ()

Protected Member Functions

 Shader ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Clutter::Shaderwrap (ClutterShader *object, bool take_copy=false)
 A Glib::wrap() method for this object.


Constructor & Destructor Documentation

virtual Clutter::Shader::~Shader (  )  [virtual]

Clutter::Shader::Shader (  )  [protected]


Member Function Documentation

ClutterShader* Clutter::Shader::gobj (  )  [inline]

Provides access to the underlying C GObject.

const ClutterShader* Clutter::Shader::gobj (  )  const [inline]

Provides access to the underlying C GObject.

ClutterShader* Clutter::Shader::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

static Glib::RefPtr<Shader> Clutter::Shader::create (  )  [static]

void Clutter::Shader::set_vertex_source ( const std::string &  source_code  ) 

std::string Clutter::Shader::get_vertex_source (  )  const

FIXME.

Returns:
The source of the vertex shader for this ClutterShader object or 0. The returned string is owned by the shader object and should never be modified or freed
Since: 0.6.

void Clutter::Shader::set_fragment_source ( const std::string &  source_code  ) 

std::string Clutter::Shader::get_fragment_source (  )  const

FIXME.

Returns:
The source of the fragment shader for this ClutterShader object or 0. The returned string is owned by the shader object and should never be modified or freed
Since: 0.6.

bool Clutter::Shader::bind (  ) 

FIXME.

Returns:
FIXME
Since: 0.6.

void Clutter::Shader::release (  ) 

FIXME.

Since: 0.6

bool Clutter::Shader::is_bound (  )  const

FIXME.

Returns:
FIXME
Since: 0.6.

void Clutter::Shader::set_is_enabled ( bool  enabled = true  ) 

FIXME.

Since: 0.6

Parameters:
enabled FIXME.

bool Clutter::Shader::get_is_enabled (  )  const

FIXME.

Returns:
FIXME
Since: 0.6.

Glib::PropertyProxy_ReadOnly<bool> Clutter::Shader::property_bound (  )  const

Whether the shader is bound.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> Clutter::Shader::property_enabled (  ) 

Whether the shader is enabled.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<bool> Clutter::Shader::property_enabled (  )  const

Whether the shader is enabled.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<std::string> Clutter::Shader::property_fragment_source (  ) 

Source of fragment shader.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<std::string> Clutter::Shader::property_fragment_source (  )  const

Source of fragment shader.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<std::string> Clutter::Shader::property_vertex_source (  ) 

Source of vertex shader.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<std::string> Clutter::Shader::property_vertex_source (  )  const

Source of vertex shader.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.


Friends And Related Function Documentation

Glib::RefPtr< Clutter::Shader > wrap ( ClutterShader *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated on Fri Jun 6 02:16:48 2008 for cluttermm by  doxygen 1.5.5