mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
graphics: Add comments
This commit is contained in:
parent
321f5e376e
commit
568dbe9603
@ -40,6 +40,6 @@ func glFilter(c *opengl.Context, filter Filter) opengl.Filter {
|
|||||||
type CompositionMode int
|
type CompositionMode int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
CompositionModeSourceOver CompositionMode = CompositionMode(opengl.CompositionModeSourceOver)
|
CompositionModeSourceOver CompositionMode = CompositionMode(opengl.CompositionModeSourceOver) // regular alpha blending
|
||||||
CompositionModeLighter = CompositionMode(opengl.CompositionModeLighter)
|
CompositionModeLighter = CompositionMode(opengl.CompositionModeLighter) // sum of source and destination (a.k.a. 'plus' or 'additive')
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user