documentationfor yFiles for HTML 3.0.0.3

WebGL2Visual

Base class for Visuals that use WebGL2 for rendering the visualization onto a WebGL2RenderingContext.

Inheritance Hierarchy
Visual
WebGL2Visual

Remarks

The visualization is implemented by the render method. Note that instances of this class cannot be used everywhere where a raw Visual is required. This means that this kind of visual does not work in a SvgVisualGroup and wrapping the visual will not work as there is no SVGElement that could be put into another SVG container. These kind of visuals can be used at the top-level of a CanvasComponent's IRenderTreeElements, only.

Type Details

yFiles module
view

See Also

Constructors

Methods