Function

Coglis_texture

Declaration [src]

gboolean
cogl_is_texture (
  void* object
)

Description [src]

Gets whether the given object references a texture object.

Parameters

object void*
 

A CoglObject pointer.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the object references a texture, and FALSE otherwise.