mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
graphics: VRAM -> GPU
This commit is contained in:
parent
11bb9f3826
commit
b526aed817
2
image.go
2
image.go
@ -146,7 +146,7 @@ func (i *Image) ColorModel() color.Model {
|
|||||||
|
|
||||||
// At returns the color of the image at (x, y).
|
// At returns the color of the image at (x, y).
|
||||||
//
|
//
|
||||||
// This method loads pixels from VRAM to system memory if necessary.
|
// This method loads pixels from GPU to system memory if necessary.
|
||||||
//
|
//
|
||||||
// This method can't be called before the main loop (ebiten.Run) starts (as of version 1.4.0-alpha).
|
// This method can't be called before the main loop (ebiten.Run) starts (as of version 1.4.0-alpha).
|
||||||
func (i *Image) At(x, y int) color.Color {
|
func (i *Image) At(x, y int) color.Color {
|
||||||
|
Loading…
Reference in New Issue
Block a user