Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Sciter.Lite: Custom gfx layers/rendering backends #217

@bugproof

Description

@bugproof

Wanted to try sciter-lite in a game using vulkan but this backend is not supported

enum GFX_LAYER
{
GFX_LAYER_GDI = 1, GFX_LAYER_CG = 1, /*Mac OS*/ GFX_LAYER_CAIRO = 1, /*GTK*/
GFX_LAYER_WARP = 2, GFX_LAYER_D2D_WARP = 2,
GFX_LAYER_D2D = 3,
GFX_LAYER_SKIA = 4,
GFX_LAYER_SKIA_OPENGL = 5,
GFX_LAYER_AUTO = 0xFFFF,
};

Is there any api that returns vertices and other stuff to draw?

Currently I'm using RmlUi and it's very good you can implement your own RenderInterface SystemInterface and even font engine. I'm probably staying with RmlUi but it would be interesting to integrate sciter and compare these 2 as sciter seems to support more CSS features

One option would be to create an overlay window and do the rendering there but this way it wouldn't be possible to integrate it more tightly with the game's rendering system e.g. draw 3d models on top of sciter UI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions