lv_display_set_buffers() function
Set the buffers for a display, similarly to `lv_display_set_draw_buffers`, but accept the raw buffer pointers. For DIRECT/FULL rending modes, the buffer size must be at least `hor_res * ver_res * lv_color_format_get_size(lv_display_get_color_format(disp))`
Arguments
buf2
second buffer (can be `NULL`)
buf_size
buffer size in byte
render_mode
LV_DISPLAY_RENDER_MODE_PARTIAL/DIRECT/FULL