mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-08 23:06:58 -04:00
Updated Component GPU (markdown)
parent
e7bc26cadd
commit
58916ab3ae
@ -41,6 +41,7 @@ Callbacks:
|
||||
|
||||
Example use:
|
||||
```lua
|
||||
local component = require("component")
|
||||
local gpu = component.gpu -- get primary gpu component
|
||||
local w, h = gpu.getResolution()
|
||||
gpu.fill(1, 1, w, h, " ") -- clears the screen
|
||||
|
Loading…
x
Reference in New Issue
Block a user