mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
graphics: Fix documents about DrawImage and ColorM
This commit is contained in:
parent
ec08a75332
commit
92d6c6bc58
3
image.go
3
image.go
@ -218,7 +218,8 @@ func (i *Image) disposeMipmaps() {
|
||||
// when the successive calls of DrawImages satisfies the below conditions:
|
||||
//
|
||||
// * All render targets are same (A in A.DrawImage(B, op))
|
||||
// * All ColorM values are same, or all the ColorM have only 'scale' operations
|
||||
// * Either all ColorM element values are same or all the ColorM have only diagonal ('scale') elements
|
||||
// * (*ColorM).Scale modified only diagonal elements. Other ColorM funcitons might modify the other elements.
|
||||
// * All CompositeMode values are same
|
||||
// * All Filter values are same
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user