mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
internal/shaderir: fix a wrong comment
This commit is contained in:
parent
cf92158e33
commit
bf4648eb35
@ -51,7 +51,7 @@ type VertexFunc struct {
|
||||
|
||||
// FragmentFunc takes pseudo params, and the number is len(varyings) + 2.
|
||||
// If index == 0, the param represents the coordinate of the fragment (gl_FragCoord in GLSL).
|
||||
// If index == len(varyings), the param represents (index-1)th verying variable.
|
||||
// If 0 < index <= len(varyings), the param represents (index-1)th verying variable.
|
||||
// If index == len(varyings)+1, the param is an out-param representing the color of the pixel (gl_FragColor in GLSL).
|
||||
type FragmentFunc struct {
|
||||
Block *Block
|
||||
|
Loading…
Reference in New Issue
Block a user