rapid-render 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/dist/rapid-render.js +233 -246
- package/dist/rapid-render.umd.cjs +6 -6
- package/dist/render.d.ts +1 -1
- package/dist/texture.d.ts +1 -1
- package/dist/webgl/glshader.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://nightre.github.io/Rapid.js/">Website</a>
|
|
11
|
-
|
|
11
|
+
|
|
|
12
12
|
<a href="https://nightre.github.io/Rapid.js/docs.html">Docs</a>
|
|
13
|
-
|
|
13
|
+
|
|
|
14
14
|
<a href="https://nightre.github.io/Rapid.js/api/">API Reference</a>
|
|
15
|
+
|
|
|
16
|
+
<a href="https://www.npmjs.com/package/rapid-render">NPM</a>
|
|
15
17
|
</p>
|
|
16
18
|
|
|
17
19
|
---
|
|
@@ -24,8 +26,8 @@ Rapid is a focused WebGL 2D rendering engine for games and visual tools. lightwe
|
|
|
24
26
|
|
|
25
27
|
## Highlights
|
|
26
28
|
|
|
27
|
-
- **Rendering speed**
|
|
28
|
-
An efficient batching system significantly reduces draw calls, allowing Rapid.js to maintain smooth, stable performance even when rendering large numbers of sprites at once.
|
|
29
|
+
- **Rendering speed**
|
|
30
|
+
An efficient batching system significantly reduces draw calls, allowing Rapid.js to maintain smooth, stable performance even when rendering large numbers of sprites at once.
|
|
29
31
|
|
|
30
32
|
- **Powerful custom shaders**
|
|
31
33
|
Add sprite and geometry effects through shader hooks while still using Rapid's normal renderer, transforms, textures, and draw APIs.
|
|
@@ -61,6 +63,8 @@ rapid.drawRect({
|
|
|
61
63
|
rapid.flush();
|
|
62
64
|
```
|
|
63
65
|
|
|
66
|
+
Next step: <a href="https://nightre.github.io/Rapid.js/docs.html">Docs</a>
|
|
67
|
+
|
|
64
68
|
## Benchmark
|
|
65
69
|
|
|
66
70
|
Performance Comparison: Rapid vs. Other Renderers and Game Engines
|