File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const VERSION = 'VERSION_WILL_BE_REPLACED_BY_BUILD';
17
17
/**
18
18
* The default, two-dimensional renderer in p5.js.
19
19
*
20
- * Use this when calling { @link p5. createCanvas|createCanvas} (for example,
20
+ * Use this when calling <a href="#/p5/ createCanvas"> (for example,
21
21
* `createCanvas(400, 400, P2D)`) to specify a 2D context.
22
22
*
23
23
* @typedef {'p2d' } P2D
@@ -30,14 +30,16 @@ export const P2D = 'p2d';
30
30
* A high-dynamic-range (HDR) variant of the default, two-dimensional renderer.
31
31
*
32
32
* When available, this mode can allow for extended color ranges and more
33
- * dynamic color representation. Use it similarly to { @link p5. P2D} :
33
+ * dynamic color representation. Use it similarly to ` P2D` :
34
34
* `createCanvas(400, 400, P2DHDR)`.
35
35
*
36
36
* @typedef {'p2d-hdr' } P2DHDR
37
37
* @property {P2DHDR } P2DHDR
38
38
* @final
39
39
*/
40
40
41
+ export const P2DHDR = 'p2d-hdr' ;
42
+
41
43
/**
42
44
* One of the two render modes in p5.js, used for computationally intensive tasks like 3D rendering and shaders.
43
45
*
You can’t perform that action at this time.
0 commit comments