SdlVulkan.Renderer
1.1.52
dotnet add package SdlVulkan.Renderer --version 1.1.52
NuGet\Install-Package SdlVulkan.Renderer -Version 1.1.52
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SdlVulkan.Renderer" Version="1.1.52" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SdlVulkan.Renderer" Version="1.1.52" />
<PackageReference Include="SdlVulkan.Renderer" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SdlVulkan.Renderer --version 1.1.52
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SdlVulkan.Renderer, 1.1.52"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SdlVulkan.Renderer@1.1.52
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SdlVulkan.Renderer&version=1.1.52
#tool nuget:?package=SdlVulkan.Renderer&version=1.1.52
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SdlVulkan.Renderer
SDL3 + Vortice.Vulkan rendering library built on DIR.Lib primitives.
Types
SdlVulkanWindow— SDL3 window with Vulkan instance and surface lifecycleVulkanContext— Vulkan device, swapchain, command buffers, and sync managementVkRenderer—Renderer<VulkanContext>implementation with FillRectangle, DrawRectangle, FillEllipse, DrawTextVkPipelineSet— GLSL 450 shader compilation and Vulkan pipeline creation (flat, textured, ellipse)VkFontAtlas— Dynamic glyph atlas with FreeType2 rasterization and Vulkan texture upload
Usage
using SdlVulkan.Renderer;
using var window = SdlVulkanWindow.Create("My App", 800, 600);
window.GetSizeInPixels(out var w, out var h);
var ctx = VulkanContext.Create(window.Instance, window.Surface, (uint)w, (uint)h);
var renderer = new VkRenderer(ctx, (uint)w, (uint)h);
// Use renderer.FillRectangle, DrawText, etc.
Dependencies
- DIR.Lib — Rendering primitives + FreeType glyph rasterization
- SDL3-CS — SDL3 bindings
- Vortice.Vulkan — Vulkan bindings
- Vortice.ShaderCompiler — GLSL to SPIR-V
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- DIR.Lib (>= 1.3.62)
- SDL3-CS (>= 3.5.0-preview.20260213-150035)
- Vortice.ShaderCompiler (>= 1.9.0)
- Vortice.Vulkan (>= 3.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.