mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
parent
c60a32a479
commit
7ac1f62c52
4
image.go
4
image.go
@ -432,8 +432,8 @@ func (i *Image) Dispose() error {
|
|||||||
//
|
//
|
||||||
// The given p must represent RGBA pre-multiplied alpha values. len(p) must equal to 4 * (image width) * (image height).
|
// The given p must represent RGBA pre-multiplied alpha values. len(p) must equal to 4 * (image width) * (image height).
|
||||||
//
|
//
|
||||||
// ReplacePixels takes the ownership of the given p. This means that p must not be modified after ReplacePixels is
|
// As of 1.11.0-alpha, ReplacePixels takes the ownership of the given p. This means that p must not be modified
|
||||||
// called.
|
// after ReplacePixels is called.
|
||||||
//
|
//
|
||||||
// ReplacePixels may be slow (as for implementation, this calls glTexSubImage2D).
|
// ReplacePixels may be slow (as for implementation, this calls glTexSubImage2D).
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user