update README features section
This commit is contained in:
@@ -4,22 +4,18 @@
|
|||||||
|
|
||||||
#### Features
|
#### Features
|
||||||
|
|
||||||
1. Put Pixel
|
1. Put Pixel - Lets you color one given pixel in the framebuffer.
|
||||||
|
|
||||||
```c
|
```c
|
||||||
void put_pixel(unsigned int x, unsigned int y, uint32_t color);
|
void put_pixel(unsigned int x, unsigned int y, uint32_t color);
|
||||||
```
|
```
|
||||||
|
|
||||||
- Lets you color one given pixel in the framebuffer.
|
2. Clear Framebuffer - Lets you fill the entire framebuffer with one color.
|
||||||
|
|
||||||
2. Clear Framebuffer
|
|
||||||
|
|
||||||
```c
|
```c
|
||||||
void clear_framebuffer(uint32_t color);
|
void clear_framebuffer(uint32_t color);
|
||||||
```
|
```
|
||||||
|
|
||||||
- Lets you fill the entire framebuffer with one color.
|
|
||||||
|
|
||||||
#### Usage
|
#### Usage
|
||||||
|
|
||||||
The main function of a program that uses this engine should look something like this:
|
The main function of a program that uses this engine should look something like this:
|
||||||
|
|||||||
Reference in New Issue
Block a user