ebiten: update comments

Updates #2640
This commit is contained in:
Hajime Hoshi 2024-08-25 18:44:13 +09:00
parent 2cc809516f
commit 41b762ba2c

View File

@ -298,6 +298,9 @@ type Vertex struct {
// Custom0/Custom1/Custom2/Custom3 represents general-purpose values passed to the shader. // Custom0/Custom1/Custom2/Custom3 represents general-purpose values passed to the shader.
// In order to use them, Fragment must have an additional vec4 argument. // In order to use them, Fragment must have an additional vec4 argument.
//
// These values are valid only when DrawTrianglesShader is used.
// In other cases, these values are ignored.
Custom0 float32 Custom0 float32
Custom1 float32 Custom1 float32
Custom2 float32 Custom2 float32