Ultralight icon indicating copy to clipboard operation
Ultralight copied to clipboard

Can I use my own backend?

Open WindowsNT opened this issue 4 years ago • 1 comments

This seems very interesting, I would like to use it. I only want off-screen rendering because I want to generate HTML to put into my video editor, so no display to a Window.

The question is, can I use my own Direct3D based rendering engine at the object level? I dont' want to get a bitmap that contains the HTML, I want it to use my own callbacks to generate text, images, fonts etc.

WindowsNT avatar Feb 02 '22 17:02 WindowsNT

This seems very interesting, I would like to use it. I only want off-screen rendering because I want to generate HTML to put into my video editor, so no display to a Window.

The question is, can I use my own Direct3D based rendering engine at the object level? I dont' want to get a bitmap that contains the HTML, I want it to use my own callbacks to generate text, images, fonts etc.

If your backend supports

  • Vertex buffers
  • Index buffers
  • any kind of Uniforms
  • RT textures (framebuffers)
  • BGRA8 and R8 texture formats
  • Texture row length (or disable 16 byte alignment in config (latest 1.3) or implement custom "un-strider")
  • Shaders

Then probably yes.

SupinePandora43 avatar Feb 08 '22 14:02 SupinePandora43