Renderer-agnostic enums. They are plain strings so scene objects never
carry GPU API constants; each renderer maps them to its own values
(see src/webgl/gl-constants.ts for WebGL2).
Both the object form (DrawMode.TRIANGLES) and the string literal
('triangles') are accepted wherever the type is expected.
Renderer-agnostic enums. They are plain strings so scene objects never carry GPU API constants; each renderer maps them to its own values (see
src/webgl/gl-constants.tsfor WebGL2).Both the object form (
DrawMode.TRIANGLES) and the string literal ('triangles') are accepted wherever the type is expected.