Exemplo n.º 1
0
        public unsafe void ExecuteCommands(List <CommandBuffer> commandBuffers)
        {
            var commands = new NativeList <VkCommandBuffer>();

            foreach (var commandBuffer in commandBuffers)
            {
                commands.Add(commandBuffer.Handle);
            }

            VulkanNative.vkCmdExecuteCommands(
                _handle,
                commands.Count,
                (VkCommandBuffer *)commands.Data.ToPointer()
                );
        }