| Article | 70000445 |
| Type | Wish |
| Product | WebJS |
| Date Added | 5/15/2015 12:00:00 AM |
| Fixed | (5/22/2015 12:00:00 AM) |
| Submitted by | VectorDraw Team |
Summary
Support of webGL in web library
Solution
In version 7004.1.0, WebGL was utilized by the vdraw web library in order to offer faster render. In order to use it call the EnableWebGL() function within the vdrawObject of the library.
EnableWebGL(bool enable)
The function takes the following parameters- enable: If true enables WebGL, if false disables it.
SetBlockSize(int blockSize)
The function takes the following parameters- blockSize: The number of triangles to be rendered with each draw.
- Supported objects: vdPolyface, vd3DFace vdCurves with Thickness. All other object types are ignored.
- No Osnaps supported with WebGL render.
- No Wire mode is supported.
