mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01: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…
Reference in a new issue