This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
component:gpu [2020/05/18 11:44] payonel |
component:gpu [2020/05/24 21:49] lizzian Changed "...next release (1.8)" to "...next release (OC 1.8)" to avoid confusion about MC 1.7.10 support |
||
---|---|---|---|
Line 13: | Line 13: | ||
- [[component:gpu#video_ram_buffers|Video Ram Buffers]] | - [[component:gpu#video_ram_buffers|Video Ram Buffers]] | ||
This list of component api is getting long, so the new video ram api is listed below on this page in its own section | This list of component api is getting long, so the new video ram api is listed below on this page in its own section | ||
- | - New in OC 1.7.5 Developer builds and expected in the next release (1.8) | + | - New in OC 1.7.5 Developer builds and expected in the next release (OC 1.8) |
- `bind(address: string[, reset: boolean=true]): boolean[, string]` | - `bind(address: string[, reset: boolean=true]): boolean[, string]` | ||
Tries to bind the GPU to a screen with the specified address. Returns `true` on success, `false` and an error message on failure. Resets the screen's settings if reset is 'true'. | Tries to bind the GPU to a screen with the specified address. Returns `true` on success, `false` and an error message on failure. Resets the screen's settings if reset is 'true'. |