WAFFLE_WINDOW(3) | Waffle Manual | WAFFLE_WINDOW(3) |
waffle_window, waffle_window_create, waffle_window_destroy, waffle_window_show, waffle_window_swap_buffers, waffle_window_get_native - class waffle_window
#include <waffle.h> struct waffle_window;
struct waffle_window* waffle_window_create(struct waffle_window *config, int32_t width, int32_t height);
bool waffle_window_destroy(struct waffle_window *self);
bool waffle_window_show(struct waffle_window *self);
bool waffle_window_swap_buffers(struct waffle_window *self);
union waffle_native_window* waffle_window_get_native(struct waffle_window *self);
struct waffle_window
waffle_window_create()
If the platform allows, the window is not displayed onto the screen after creation. To display the window, call waffle_window_show().
waffle_window_destroy()
waffle_window_show()
waffle_window_swap_buffers()
waffle_window_get_native()
Functions whose return type is bool return true on success and false on failure. Functions whose return type is a pointer return NULL on failure. Use waffle_error_get_info(3) to get information about any errors.
See waffle_error(3) for the complete list of waffle's error codes.
No errors are specific to the waffle_window functions.
Please report bugs or and feature requests to https://github.com/waffle-gl/waffle/issues.
Chad Versace <chad.versace@linux.intel.com>
Copyright © 2013 Intel
This manual page is licensed under the Creative Commons Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To view a copy of this license, visit http://creativecommons.org.license/by-sa/3.0/us.
10/19/2017 | waffle |