![]() |
VOOZH | about |
dotnet add package Iguina.Drivers.Sfml --version 1.0.0
NuGet\Install-Package Iguina.Drivers.Sfml -Version 1.0.0
<PackageReference Include="Iguina.Drivers.Sfml" Version="1.0.0" />
<PackageVersion Include="Iguina.Drivers.Sfml" Version="1.0.0" />Directory.Packages.props
<PackageReference Include="Iguina.Drivers.Sfml" />Project file
paket add Iguina.Drivers.Sfml --version 1.0.0
#r "nuget: Iguina.Drivers.Sfml, 1.0.0"
#:package Iguina.Drivers.Sfml@1.0.0
#addin nuget:?package=Iguina.Drivers.Sfml&version=1.0.0Install as a Cake Addin
#tool nuget:?package=Iguina.Drivers.Sfml&version=1.0.0Install as a Cake Tool
SFML rendering and input drivers for the Iguina UI system.
using SFML.Graphics;
using SFML.Window;
using Iguina.Drivers.Sfml;
var window = new RenderWindow(new VideoMode(800, 600), "My Game");
var font = new Font("path/to/font.ttf");
var ui = SfmlIguinaSetup.Create(window, "path/to/IguinaTheme", "path/to/IguinaTheme/system_style.json", font);
var clock = new Clock();
while (window.IsOpen)
{
window.DispatchEvents();
var dt = clock.Restart().AsSeconds();
window.Clear();
ui.Update(dt);
ui.Draw();
window.Display();
}
For more control, use the drivers directly:
var renderer = new SfmlRenderer(window, themePath, defaultFont);
var input = new SfmlInputProvider(window);
var ui = new UISystem(Path.Combine(themePath, "system_style.json"), renderer, input);
The renderer also works with RenderTexture:
var target = new RenderTexture(new Vector2u(800, 600));
var renderer = new SfmlRenderer(target, themePath, defaultFont);
RenderWindow and RenderTexture| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 43 | 6/17/2026 |