gpu: add Framebuffer.ReadPixels

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-02-22 08:29:45 +01:00
parent 6fd545a4d8
commit e4a927982d
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -127,6 +127,7 @@ type Framebuffer interface {
Bind()
Invalidate()
Release()
ReadPixels(src image.Rectangle, pixels []byte) error
}
type Timer interface {