From 41b762ba2c150f963289a119a48325345c587cce Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 25 Aug 2024 18:44:13 +0900 Subject: [PATCH] ebiten: update comments Updates #2640 --- image.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/image.go b/image.go index 9fc5938c4..115020b08 100644 --- a/image.go +++ b/image.go @@ -298,6 +298,9 @@ type Vertex struct { // Custom0/Custom1/Custom2/Custom3 represents general-purpose values passed to the shader. // 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 Custom1 float32 Custom2 float32