Clutter::Cogl::Handle.3pm

Langue: en

Version: 2008-10-14 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Clutter::Cogl::Handle

DESCRIPTION

Clutter::Cogl::Handle is an opaque data type that is used to store a handle to a GL or GLES resource. A handle can point to a texture, or a shader program, or an offscreen buffer.

The nature and contents of the handle are completely shielded from the Perl developer; a handle can only be used with the Clutter::Cogl functions.

METHODS


boolean = $handle->is_offscreen


boolean = $handle->is_offscreen

Whether the given handle references an existing offscreen buffer object

boolean = $handle->is_program


boolean = $handle->is_program

Whether the given handle references an existing program object

boolean = $handle->is_shader


boolean = $handle->is_shader

Whether the given handle references an existing shader object

boolean = $handle->is_texture


boolean = $handle->is_texture

Whether the given handle references an existing texture object

boolean = $handle->is_valid


boolean = $handle->is_valid

Checks whether the passed handle is valid or not

SEE ALSO

Clutter Copyright (C) 2006 OpenedHand Ltd.

This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Library version 2.1, or under the terms of the Artistic License. See Clutter for the full copyright notice.