Class RendererFactory
Simple factory to create a renderer for a given backend API/version/etc.
Assembly: ImGuiScene.dll
View Source
Declaration
public class RendererFactory
Methods
CreateRenderer(RendererBackend, bool)
Creates a renderer of the specified backend type.
View Source
Declaration
public static IRenderer CreateRenderer(RendererFactory.RendererBackend backend, bool enableDebugging)
Returns
Parameters
Type | Name | Description |
---|---|---|
ImGuiScene.RendererFactory.RendererBackend | backend | Which renderer type to create |
System.Boolean | enableDebugging | Whether to enable debugging in the internal render state. This is likely to greatly affect performance and should generally be avoided. |