Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_api.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| void WM_script_tag_reload(void); | void WM_script_tag_reload(void); | ||||
| wmWindow *WM_window_find_under_cursor(wmWindow *win, const int mval[2], int r_mval[2]); | wmWindow *WM_window_find_under_cursor(wmWindow *win, const int mval[2], int r_mval[2]); | ||||
| void WM_window_pixel_sample_read(const wmWindowManager *wm, | void WM_window_pixel_sample_read(const wmWindowManager *wm, | ||||
| const wmWindow *win, | const wmWindow *win, | ||||
| const int pos[2], | const int pos[2], | ||||
| float r_col[3]); | float r_col[3]); | ||||
| wmWindow *WM_window_from_area(const wmWindowManager *wm, const struct ScrArea *area); | |||||
| /** | /** | ||||
| * Read pixels from the front-buffer (fast). | * Read pixels from the front-buffer (fast). | ||||
| * | * | ||||
| * \note Internally this depends on the front-buffer state, | * \note Internally this depends on the front-buffer state, | ||||
| * for a slower but more reliable method of reading pixels, use #WM_window_pixels_read_offscreen. | * for a slower but more reliable method of reading pixels, use #WM_window_pixels_read_offscreen. | ||||
| * Fast pixel access may be preferred for file-save thumbnails. | * Fast pixel access may be preferred for file-save thumbnails. | ||||
| * | * | ||||
| * \warning Drawing (swap-buffers) immediately before calling this function causes | * \warning Drawing (swap-buffers) immediately before calling this function causes | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||