Skip to content

Rename to drawHTMLElement and texHTMLElement?Β #32

@mrdoob

Description

@mrdoob

The name drawElement is too similar to WebGL's gl.drawElements().

https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements

In the Web 2D/3D Graphics world I don't think people immediately think of "HTML element" when they read "element".

Would it be a good idea to rename to drawHTMLElement to avoid developers confusion?

While we're at it... I think renaming gl.texElement2D to gl.texHTMLElement could be good too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions