mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
wlr_scene: Add documentation to wlr_scene_buffer_from_node
This commit is contained in:
parent
e07c77f846
commit
61c157269e
1 changed files with 4 additions and 0 deletions
|
|
@ -317,6 +317,10 @@ struct wlr_scene_tree *wlr_scene_tree_create(struct wlr_scene_tree *parent);
|
|||
struct wlr_scene_surface *wlr_scene_surface_create(struct wlr_scene_tree *parent,
|
||||
struct wlr_surface *surface);
|
||||
|
||||
/**
|
||||
* If this node represents a wlr_scene_buffer, that buffer will be returned. It
|
||||
* is not legal to feed a node that does not represent a wlr_scene_buffer.
|
||||
*/
|
||||
struct wlr_scene_buffer *wlr_scene_buffer_from_node(struct wlr_scene_node *node);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue