loading...

What data does an API ask for to draw a pixel on the screen?

curiosport profile image curiosport ・1 min read

For example for a pixel with a depth of 10bits the following should be delivered:

-30 bits of data for the colour: R=10, G=10, B=10.
-Position where to draw the pixel (X,Y)
-And here's where I ask myself, does the API ask for more information or is that all?

Discussion

markdown guide