Module wayland_client::protocol::wl_buffer
source · Expand description
content for a wl_surface
A buffer provides the content for a wl_surface. Buffers are created through factory interfaces such as wl_shm, wp_linux_buffer_params (from the linux-dmabuf protocol extension) or similar. It has a width and a height and can be attached to a wl_surface, but the mechanism by which a client provides and updates the contents is defined by the buffer factory interface.
If the buffer uses a format that has an alpha channel, the alpha channel is assumed to be premultiplied in the color channels unless otherwise specified.
Structs
Enums
Constants
- The minimal object version supporting this event
- The minimal object version supporting this request
Statics
- C-representation of the messages of this interface, for interop
- C representation of this interface, for interop
- C-representation of the messages of this interface, for interop