[][src]Module wayland_raw_protocol_bindings::client::wayland::wl_buffer

content for a wl_surface

A buffer provides the content for a wl_surface. Buffers are created through factory interfaces such as wl_drm, wl_shm 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.

Enums

wl_buffer

Statics

wl_buffer_events

C-representation of the messages of this interface, for interop

wl_buffer_interface

C representation of this interface, for interop

wl_buffer_requests

C-representation of the messages of this interface, for interop

Traits

wl_buffer_listener

An interface for handling events.

Functions

wl_buffer_add_listener
wl_buffer_add_rust_listener
wl_buffer_destroy

destroy a buffer

wl_buffer_get_user_data
wl_buffer_get_version
wl_buffer_set_user_data