get_pixel_format
Description:
[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public PixelFormat get_pixel_format ()
public PixelFormat get_pixel_format ()
Warning: get_pixel_format is deprecated since 1.12.
Retrieves the pixel format used by this.
Note:
There is no direct replacement for this function
This is equivalent to:
handle = clutter_texture_get_pixel_format (texture);
if (handle != COGL_INVALID_HANDLE)
format = cogl_texture_get_format (handle);
Parameters:
this |
a Texture |
Returns:
a PixelFormat value |