Skip to content

[COMP] Webgl component #113

@liamegan

Description

@liamegan

This component will provide a discrete webgl element to the page. This could go a number of different ways, potentially, but initially it should be relatively simple, I think.

It should:

  • Provide a simple webgl context
  • By default, it should just provide a quad to the presented space
  • Accept a width and height
  • Accept attribute data (optionally)
  • Accept uniforms
  • It should stop rendering when scrolled out of view
  • It should destroy its context when scrolled out of view (able to be optioned off)
  • Handle context loss by re-initializing when it's about to come back onscreen
  • It should support framebuffers and textures (optionally)

Metadata

Metadata

Labels

COMPTickets related to wethegit-componentsNew componentA new component proposalquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions