SilkyNvg.Rendering.Vulkan 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SilkyNvg.Rendering.Vulkan --version 1.0.1                
NuGet\Install-Package SilkyNvg.Rendering.Vulkan -Version 1.0.1                
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="SilkyNvg.Rendering.Vulkan" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SilkyNvg.Rendering.Vulkan --version 1.0.1                
#r "nuget: SilkyNvg.Rendering.Vulkan, 1.0.1"                
#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.
// Install SilkyNvg.Rendering.Vulkan as a Cake Addin
#addin nuget:?package=SilkyNvg.Rendering.Vulkan&version=1.0.1

// Install SilkyNvg.Rendering.Vulkan as a Cake Tool
#tool nuget:?package=SilkyNvg.Rendering.Vulkan&version=1.0.1                

SilkyNvg - Vulkan Renderer

This is an implementation of a renderer in SilkyNvg for Vulkan.

Usage

The Vulkan renderer's constructor takes 3 arguments: SilkyNvg.Rendering.Vulkan.CreateFlags, SilkyNvg.Rendering.Vulkan.VulkanRendererParams and Silk.NET.Vulkan.VK. The last parameter is an API-Instance of Vulkan.

The SilkyNvg.Rendering.Vulkan.CreateFlags mask has the following options:

  • CreateFlags.Antialias States that the renderer should draw antialiased or raw meshes.
  • CreateFlags.StencilStrokes States that the renderer should use the stencil buffer when drawing strokes (lines).
  • CreateFlags.TriangleListFill Doesn't use VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN, as it is not supported universally. Performances decreases somewhat.
  • CreateFlags.Debug States that the renderer should print errors.

The SilkyNvg.Rendering.Vulkan.VulkanRendererParams struct:

  • VulkanRendererParams.PhysicalDevice The physical device.
  • VulkanRendererParams.Device The device, matching the physical device specified.
  • VulkanRendererParams.AllocationCallbacks A safe IntPtr to potential AllocationCallbacks. Use IntPtr.Zero if none are used or leave empty.
  • VulkanRendererParams.InitialCommandBuffer Can specify the command buffer to draw to. If this is set, updating the command buffer every frame is not necessary.
  • VulkanRendererParams.FrameCount How many frames can be drawn simultaniously. (No multithreading!)
  • VulkanRendererParams.AdvanceFrameIndexAutomatically If the index of the frame used should be incremented automatically after drawing a frame. Loops back to 0.
  • VulkanRendererParams.RenderPass The render pass.
  • VulkanRendererParams.SubpassIndex The index of the subpass to be used.
  • VulkanRendererParams.ImageQueueFamily The queue family to be used for image layout transition and buffer copying. Must support VK__QUEUE_GRAPHICS_BIT.
  • VulkanRendererParams.ImageQueueFamilyIndex Which index to create the queue running the afforementioned operations on should be created from.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 106 5/22/2024
1.1.0 88 4/24/2024
1.0.8 116 4/16/2024
1.0.7 117 3/8/2024
1.0.3 204 11/17/2023
1.0.2 122 11/13/2023
1.0.1 372 10/15/2021
0.1.0 391 8/12/2021 0.1.0 is deprecated because it is no longer maintained.

Fixed deleting images which would mess up image indices.