API Documentation
Loading...
Searching...
No Matches
VulkanCameraManager.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------------------------
2Copyright (c) 2019, NDEVR LLC
3tyler.parke@ndevr.org
4 __ __ ____ _____ __ __ _______
5 | \ | | | __ \ | ___|\ \ / / | __ \
6 | \ | | | | \ \ | |___ \ \ / / | |__) |
7 | . \| | | |__/ / | |___ \ V / | _ /
8 | |\ |_|_____/__|_____|___\_/____| | \ \
9 |__| \__________________________________| \__\
10
11Subject to the terms of the Enterprise+ Agreement, NDEVR hereby grants
12Licensee a limited, non-exclusive, non-transferable, royalty-free license
13(without the right to sublicense) to use the API solely for the purpose of
14Licensee's internal development efforts to develop applications for which
15the API was provided.
16
17The above copyright notice and this permission notice shall be included in all
18copies or substantial portions of the Software.
19
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
22PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
23FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25DEALINGS IN THE SOFTWARE.
26
27Library: Graphics
28File: VulkanCameraManager
29Included in API: True
30Author(s): Tyler Parke
31 *-----------------------------------------------------------------------------------------**/
32#pragma once
33#include "VulkanDefines.h"
35#include "VulkanBuffer.h"
36#include "VulkanShader.h"
38
39struct VkPushConstantRange;
44
45namespace NDEVR
46{
47 class GraphicsUpdateArguments;
48 class Camera;
49 /**--------------------------------------------------------------------------------------------------
50 \brief A structure for managing Viewport interactions with in the Vulkan Graphics Space
51 **/
83}
#define lib_assert(expression, message)
Definition LibAssert.h:61
uint64_t VkSampler
Definition VulkanCameraManager.h:43
uint64_t VkDescriptorSet
Definition VulkanCameraManager.h:41
uint64_t VkDescriptorPool
Definition VulkanCameraManager.h:40
uint64_t VkDescriptorSetLayout
Definition VulkanCameraManager.h:42
#define vk_null
Definition VulkanDefines.h:11
#define DEFINE_NON_DISPATCHABLE_HANDLE(object)
Definition VulkanInstance.h:49
Provides a constant, unmodifiable pointer that has shared ownership of a dynamically allocated object...
Definition GraphicsPipeline.h:42
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
A structure for managing Viewport interactions with an NDEVR Rendering Engine.
Definition GraphicsCameraManager.h:70
CameraUniformObject m_camera_uniform
Definition GraphicsCameraManager.h:89
A structure for managing Viewport interactions with in the Vulkan Graphics Space.
Definition VulkanCameraManager.h:53
VkSampler sampler() const
Definition VulkanCameraManager.h:60
VkDescriptorSet m_descriptor_set
Definition VulkanCameraManager.h:79
void resetPool()
Definition VulkanCameraManager.h:68
void createDescriptorSet(VkDescriptorPool pool)
VkSampler m_sampler
Definition VulkanCameraManager.h:81
DynamicPointer< VulkanBuffer > m_camera_uniform_buffer
Definition VulkanCameraManager.h:76
VkDescriptorPool m_descriptor_pool
Definition VulkanCameraManager.h:78
const CameraUniformObject & uniformObject() const
Definition VulkanCameraManager.h:62
ConstPointer< VulkanDevice > m_device
Definition VulkanCameraManager.h:75
VulkanCameraManager(const ConstPointer< VulkanDevice > &device)
void createPipeline(VkDescriptorPool pool)
VulkanCameraManager(const VulkanCameraManager &m_pipeline)
VkDescriptorSet descriptorSet() const
Definition VulkanCameraManager.h:63
static VkDescriptorSetLayout descriptorSetLayout(ConstPointer< VulkanDevice > instance)
Definition ACIColor.h:37
A structure containing common information pushed to the video card for NDEVR Rendering Engine operati...
Definition GraphicsCameraManager.h:48