Function createTextRenderer
-
Parameters
- surface: SurfaceContext
Surface whose swapchain receives the text pass.
- opts: TextRendererOptions
Initial layers and clear settings.
Returns TextRenderer
A rendering context that can be registered with the engine.
- surface: SurfaceContext
Create a standalone text renderer for one surface.