SilkyNvg.Rendering.Vulkan
1.0.1
There is a newer version of this package available.
See the version list below for details.
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 useVK_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. UseIntPtr.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 supportVK__QUEUE_GRAPHICS_BIT
.VulkanRendererParams.ImageQueueFamilyIndex
Which index to create the queue running the afforementioned operations on should be created from.
Product | Versions 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.
-
- Silk.NET.Maths (>= 2.8.0)
- Silk.NET.Vulkan (>= 2.8.0)
- SilkyNvg (>= 1.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Fixed deleting images which would mess up image indices.