Finality Engine
Loading...
Searching...
No Matches
VKViewportPass.h
Go to the documentation of this file.
1
6#pragma once
7#include "VKUniformBuffer.h"
8#include <Core/RenderTarget.h>
9
10namespace FINALITY
11{
14 {
15 VkCommandBuffer Command = VK_NULL_HANDLE;
16 VkDescriptorPool Pool = VK_NULL_HANDLE;
17 VkDescriptorSet Globals = VK_NULL_HANDLE;
19 VkBuffer Instances = VK_NULL_HANDLE;
20 VkDeviceMemory InstanceMemory = VK_NULL_HANDLE;
21 uint8_t* Mapped = nullptr;
22 VkDeviceSize Capacity = 0, Offset = 0;
23 VkQueryPool Queries = VK_NULL_HANDLE;
24 bool Submitted = false;
25 std::weak_ptr<RenderTarget> Target;
26
27 void Initialize(VkDevice device, VkPhysicalDevice physical, VkCommandPool commands, VkDescriptorSetLayout layout, bool timestamps);
28 void Destroy(VkDevice device, VkCommandPool commands);
29 void CollectTiming(VkDevice device, double period, uint32_t validBits);
30 };
31}
std::weak_ptr< RenderTarget > Target
void Initialize(VkDevice device, VkPhysicalDevice physical, VkCommandPool commands, VkDescriptorSetLayout layout, bool timestamps)
VkDeviceMemory InstanceMemory
void Destroy(VkDevice device, VkCommandPool commands)
void CollectTiming(VkDevice device, double period, uint32_t validBits)