mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal: add comments
This commit is contained in:
parent
46cf09197b
commit
4fa8265c58
@ -156,6 +156,7 @@ const (
|
||||
// A screen image is also unmanaged.
|
||||
ImageTypeScreen
|
||||
|
||||
// ImageTypeVolatile is a volatile image that is cleared every frame.
|
||||
ImageTypeVolatile
|
||||
|
||||
// ImageTypeUnmanaged is an unmanaged image that is not on an atlas.
|
||||
|
@ -31,6 +31,8 @@ type Shader struct {
|
||||
shader graphicsdriver.Shader
|
||||
ir *shaderir.Program
|
||||
id int
|
||||
|
||||
// name is used only for logging.
|
||||
name string
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user