Function

Coglis_texture_2d

Declaration [src]

gboolean
cogl_is_texture_2d (
  void* object
)

Description [src]

Gets whether the given object references an existing CoglTexture2D object.

Parameters

object void*
 

A CoglObject.

 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 CoglTexture2D, FALSE otherwise.