protected static void EndCommandBuffer(CommandBuffer buffer)
        {
            var res = VkApi.EndCommandBuffer(buffer);

            if (res != Result.Success)
            {
                throw new VMASharp.VulkanResultException("Failed to end Command Buffer recording!", res);
            }
        }