Method
CoglBitmapset_access
Declaration [src]
void
cogl_bitmap_set_access (
CoglBitmap* bitmap,
CoglBufferAccess access
)
Description [src]
Restricts access to the underlying storage. Bitmaps allow both reading
and writing by default. Device mappings that are only writable can use
COGL_BUFFER_ACCESS_WRITE so pixel readback performs any operations that
require reading pixels in temporary storage.
The bitmap must not be mapped or bound. Bitmaps sharing the same storage share the access restriction.
Parameters
access-
Type:
CoglBufferAccessThe allowed access to the bitmap’s storage.