### Function

# Cogl is_texture

#### Declaration [src]

    gboolean
    cogl_is_texture (
      void* object
    )

#### Description [src]

Gets whether the given object references a texture object.

#### Parameters

`object`

  Type: `void*`

  A `CoglObject` pointer.

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

#### Return value

Type: `gboolean`

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