mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-03 19:17:27 -04:00
Updated Component GPU (markdown)
parent
daa07cb26e
commit
323fc9e05d
@ -27,6 +27,8 @@ Callbacks:
|
||||
Gets the currently set resolution.
|
||||
- `setResolution(width: number, height: number): boolean`
|
||||
Sets the specified resolution. Can be up to the maximum supported resolution. If a larger or invalid resolution is provided it will throw an error. Returns `true` if the resolution was set, `false` otherwise.
|
||||
- `getSize(): number, number`
|
||||
Gets the size in blocks of the screen the graphics card is bound to. For simple screens and robots this will be one by one.
|
||||
- `get(x: number, y: number): string`
|
||||
Gets the character currently being displayed at the specified coordinates.
|
||||
- `set(x: number, y: number, value: string): boolean`
|
||||
|
Loading…
x
Reference in New Issue
Block a user