mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
gpu: add Framebuffer.ReadPixels
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -127,6 +127,7 @@ type Framebuffer interface {
|
||||
Bind()
|
||||
Invalidate()
|
||||
Release()
|
||||
ReadPixels(src image.Rectangle, pixels []byte) error
|
||||
}
|
||||
|
||||
type Timer interface {
|
||||
|
||||
Reference in New Issue
Block a user