PlatformAPI reference
Class SdlRendererBackendFactory
Namespace: MicroEngine.Sdl
Assembly: MicroEngine.Sdl.dll
Guide: Backends and platforms
Factory of the tier-0 SDL_Renderer backend (“sdl-renderer”).
public sealed class SdlRendererBackendFactory : IGraphicsBackendFactoryInheritance
object ← SdlRendererBackendFactory
Implements
Constructors
SdlRendererBackendFactory()
public SdlRendererBackendFactory()Properties
Name
Backend name: “sdl-renderer”, “raylib”, “reference” (and, later, “sdl-gpu”).
public string Name { get; }Property Value
Methods
Create(ISurface?, GraphicsDeviceOptions)
Creates a device for surface (null = offscreen only, where the backend supports it).
public IGraphicsDevice Create(ISurface? surface, GraphicsDeviceOptions options)Parameters
surface ISurface?
options GraphicsDeviceOptions
Returns
UnsupportedReason(ISurface?)
Null when Create can succeed for surface, otherwise why not.
public string? UnsupportedReason(ISurface? surface)Parameters
surface ISurface?