Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglPixelFormat |
Enum : | PixelFormat |
Properties | |
---|---|
guint32 Cogl.PixelFormat.ABGR_8888 : 115
|
|
guint32 Cogl.PixelFormat.ABGR_8888_PRE : 243
|
|
guint32 Cogl.PixelFormat.ANY : 0
|
|
guint32 Cogl.PixelFormat.ARGB_8888 : 83
|
|
guint32 Cogl.PixelFormat.ARGB_8888_PRE : 211
|
|
guint32 Cogl.PixelFormat.A_8 : 17
|
|
guint32 Cogl.PixelFormat.BGRA_8888 : 51
|
|
guint32 Cogl.PixelFormat.BGRA_8888_PRE : 179
|
|
guint32 Cogl.PixelFormat.BGR_888 : 34
|
|
guint32 Cogl.PixelFormat.G_8 : 8
|
|
guint32 Cogl.PixelFormat.RGBA_4444 : 21
|
|
guint32 Cogl.PixelFormat.RGBA_4444_PRE : 149
|
|
guint32 Cogl.PixelFormat.RGBA_5551 : 22
|
|
guint32 Cogl.PixelFormat.RGBA_5551_PRE : 150
|
|
guint32 Cogl.PixelFormat.RGBA_8888 : 19
|
|
guint32 Cogl.PixelFormat.RGBA_8888_PRE : 147
|
|
guint32 Cogl.PixelFormat.RGB_565 : 4
|
|
guint32 Cogl.PixelFormat.RGB_888 : 2
|
|
guint32 Cogl.PixelFormat.YUV : 7
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Texture
Property |
pixel_format : Cogl.PixelFormat
read only
|
Clutter.Texture
Method |
get_pixel_format
()
:
Cogl.PixelFormat
Retrieves the pixel format used by texture.
|
Cogl
Method |
Cogl.read_pixels
(gint32 x, gint32 y, gint32 width, gint32 height, ReadPixelsFlags source, PixelFormat format, guint8 pixels)
:
none
This reads a rectangle of pixels from the current framebuffer where
position (0, 0) is the top left. |
Cogl
Method |
Copies the pixel data from a cogl texture to system memory.
|
Cogl
Method |
Queries the CoglPixelFormat of a cogl texture.
|
Cogl
Method |
Cogl.texture_set_region
(void* handle, gint32 src_x, gint32 src_y, gint32 dst_x, gint32 dst_y, guint32 dst_width, guint32 dst_height, gint32 width, gint32 height, PixelFormat format, guint32 rowstride, guint8 data)
:
gboolean
Sets the pixels in a rectangular subregion of handle from an in-memory
buffer containing pixel data. |