diff --git a/pixelgl/attr.go b/pixelgl/attr.go
index 16128bcbe04e452307b34564244f0ec27ec09e8d..4f649df06bd0a4117a5482ad4bf2d647b5fe961b 100644
--- a/pixelgl/attr.go
+++ b/pixelgl/attr.go
@@ -20,6 +20,8 @@ const (
 	Transform
 	// Camera is a camera view matrix
 	Camera
+	// NumStandardAttrPurposes is the number of standard attribute purposes
+	NumStandardAttrPurposes
 )
 
 // AttrType represents the type of an OpenGL attribute.