Move Drawable draw call recording logic out of renderer
This commit is contained in:
19
openVulkanoCpp/Vulkan/VulkanDrawContext.hpp
Normal file
19
openVulkanoCpp/Vulkan/VulkanDrawContext.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "Renderer.hpp"
|
||||
|
||||
namespace openVulkanoCpp::Vulkan
|
||||
{
|
||||
class VulkanDrawContext
|
||||
{
|
||||
public:
|
||||
size_t encoderThreadId;
|
||||
size_t currentImageId;
|
||||
vk::CommandBuffer& commandBuffer;
|
||||
Renderer* renderer;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user