docs: documented 'graphics_buffer_shift_up'

This commit is contained in:
antifallobst 2023-02-24 23:48:28 +01:00
parent 2624162ad8
commit f3c73f5e52
1 changed files with 3 additions and 0 deletions

View File

@ -386,6 +386,9 @@ Disables rendering for this buffer.
#### `graphics_buffer_destruct(graphics_buffer)` - function (void) #### `graphics_buffer_destruct(graphics_buffer)` - function (void)
Removes **_graphics_buffer_** from the rendering queue and frees its memory allocations. Removes **_graphics_buffer_** from the rendering queue and frees its memory allocations.
#### `graphics_buffer_shift_up(graphics_buffer, shift)` - function (void)
Shifts **_graphics_buffer_**'s content **_shift_** rows up.
#### `graphics_buffer_set_pixel(graphics_buffer, x, y, color)` - function (void) #### `graphics_buffer_set_pixel(graphics_buffer, x, y, color)` - function (void)
Sets a pixel with the given **_color_** at position(**_x_** | **_y_**) in **_graphics_buffer_**. Sets a pixel with the given **_color_** at position(**_x_** | **_y_**) in **_graphics_buffer_**.
**_x_** and **_y_** are graphics buffer relative. **_x_** and **_y_** are graphics buffer relative.