Use indirect draw call.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// Copyright 2022 Simon Boyé
|
||||
#pragma once
|
||||
|
||||
#include <core/types.h>
|
||||
|
||||
#include <vk/forward.h>
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
@@ -61,8 +63,8 @@ public:
|
||||
|
||||
void free() noexcept;
|
||||
|
||||
void* map(Context& context);
|
||||
void* map(Context& context, VkDeviceSize offset, VkDeviceSize size);
|
||||
Byte* map(Context& context);
|
||||
Byte* map(Context& context, VkDeviceSize offset, VkDeviceSize size);
|
||||
void unmap(Context& context) noexcept;
|
||||
|
||||
void flush(Context& context);
|
||||
|
||||
Reference in New Issue
Block a user