SilkVulkanTutorial
SilkVulkanTutorial copied to clipboard
C# port of Vulkan Game Engine Tutorial
https://github.com/stymee/SilkVulkanTutorial/blob/7d089b0f4f947bfcd152b657b8db9a27ca7fceba/Source/Chapter09PushConstants/FirstApp.cs#L30C17-L30C17 Here you can do something like this [StructLayout(LayoutKind.Explicit)] public struct SimplePushConstantData { [FieldOffset(0)] public Vector2 Offset; [FieldOffset(16)] public Vector3 Color; public static uint SizeOf() => (uint)Unsafe.SizeOf(); } Pack property...
textures
I need some help implementing textures, i tried porting the texture system of https://github.com/JacobYealy/LittleVulkanEngine from c++ to c# but I get a memory corruption error when vk.CmdDrawIndexed(commandBuffer, indexCount, 1, 0,...
Directory.Build.props to define VulkanBinPath in one place, instead of every single .csproj I updated it to version 1.4.304.0, the Directory.Build.props file contains a Conditional definition, meaning if a .csproj redefines...