mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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
|
||||
|
||||
const (
|
||||
CompositionModeSourceOver CompositionMode = CompositionMode(opengl.CompositionModeSourceOver)
|
||||
CompositionModeLighter = CompositionMode(opengl.CompositionModeLighter)
|
||||
CompositionModeSourceOver CompositionMode = CompositionMode(opengl.CompositionModeSourceOver) // regular alpha blending
|
||||
CompositionModeLighter = CompositionMode(opengl.CompositionModeLighter) // sum of source and destination (a.k.a. 'plus' or 'additive')
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user