hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
11.12k stars 664 forks source link

internal/shader: allow less arguments at `Fragment` #3073

Closed hajimehoshi closed 3 months ago

hajimehoshi commented 3 months ago

Operating System

What feature would you like to be added?

2640 added an additional argument for custom attributes. Thus, it would be natural to make all the arguments optional. Actually this state (whether arguments are optional or not) was not defined explicitly for now.

Why is this needed?

No response