From 580498a5fe4eface9717c215027b4b2f7f5c6f1b Mon Sep 17 00:00:00 2001 From: coseeian Date: Sat, 27 Dec 2025 13:25:36 +0800 Subject: [PATCH] feat: add accTitle/accDescr to class diagram in WebGL architecture doc --- src/content/contributor-docs/en/webgl_mode_architecture.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/contributor-docs/en/webgl_mode_architecture.mdx b/src/content/contributor-docs/en/webgl_mode_architecture.mdx index ce3faa8233..3db310cab9 100644 --- a/src/content/contributor-docs/en/webgl_mode_architecture.mdx +++ b/src/content/contributor-docs/en/webgl_mode_architecture.mdx @@ -233,6 +233,11 @@ It also has the following per-vertex attributes: title: p5.js WebGL Classes --- classDiagram + accTitle: p5.js WebGL Class Diagram + accDescr { + "p5.Renderer" is the base class for "p5.Renderer2D" and "p5.RendererGL". + "p5.RendererGL" has a one-to-many composition relationship with multiple "p5.Shaders", "p5.Textures", and "p5.Framebuffers". Additionally, "p5.RendererGL" has a many-to-many aggregation relationship with "p5.Geometry". + } class Base["p5.Renderer"] { } class P2D["p5.Renderer2D"] {