API Documentation
Loading...
Searching...
No Matches
VulkanCameraManager Class Reference

A structure for managing Viewport interactions with in the Vulkan Graphics Space. More...

#include <VulkanCameraManager.h>

Inheritance diagram for VulkanCameraManager:
[legend]
Collaboration diagram for VulkanCameraManager:
[legend]

Public Member Functions

void cleanup ()
 
void commit ()
 
void createPipeline (VkDescriptorPool pool)
 
VkDescriptorSet descriptorSet () const
 
void resetPool ()
 
VkSampler sampler () const
 
const CameraUniformObjectuniformObject () const
 
 VulkanCameraManager (const ConstPointer< VulkanDevice > &device)
 
 VulkanCameraManager (const VulkanCameraManager &m_pipeline)
 
 ~VulkanCameraManager ()
 
- Public Member Functions inherited from GraphicsCameraManager
 GraphicsCameraManager ()
 
 GraphicsCameraManager (const GraphicsCameraManager &m_pipeline)
 
UUID overrideMaterial () const
 
void setCamera (const UUID &camera)
 
const CameraUniformObjectuniformObject () const
 
void updateUniformBuffer (GraphicsUpdateArguments &args)
 
bool useCameraMaterial () const
 
virtual ~GraphicsCameraManager ()
 

Static Public Member Functions

static VkDescriptorSetLayout descriptorSetLayout (ConstPointer< VulkanDevice > instance)
 

Protected Member Functions

void createDescriptorSet (VkDescriptorPool pool)
 
- Protected Member Functions inherited from GraphicsCameraManager
CameraUniformObject getCameraUniformObject (const Camera &camera, GraphicsUpdateArguments &args) const
 

Protected Attributes

DynamicPointer< VulkanBufferm_camera_uniform_buffer
 
VkDescriptorPool m_descriptor_pool
 
VkDescriptorSet m_descriptor_set
 
ConstPointer< VulkanDevicem_device
 
VkSampler m_sampler
 
- Protected Attributes inherited from GraphicsCameraManager
UUID m_camera
 
CameraUniformObject m_camera_uniform
 
Time m_last_updated_time
 
bool m_needs_pipeline_update
 
bool m_needs_uniform_commit
 
UUID m_override_material
 
bool m_use_anisotropy
 
bool m_use_camera_material
 
bool m_uses_origin
 

Detailed Description

A structure for managing Viewport interactions with in the Vulkan Graphics Space.


Constructor & Destructor Documentation

◆ VulkanCameraManager() [1/2]

◆ VulkanCameraManager() [2/2]

◆ ~VulkanCameraManager()

Member Function Documentation

◆ cleanup()

void cleanup ( )

◆ commit()

void commit ( )

◆ createDescriptorSet()

void createDescriptorSet ( VkDescriptorPool pool)
protected

◆ createPipeline()

void createPipeline ( VkDescriptorPool pool)

◆ descriptorSet()

VkDescriptorSet descriptorSet ( ) const
inline

◆ descriptorSetLayout()

static VkDescriptorSetLayout descriptorSetLayout ( ConstPointer< VulkanDevice > instance)
static

◆ resetPool()

void resetPool ( )
inline

◆ sampler()

VkSampler sampler ( ) const
inline

◆ uniformObject()

const CameraUniformObject & uniformObject ( ) const
inline

Member Data Documentation

◆ m_camera_uniform_buffer

DynamicPointer<VulkanBuffer> m_camera_uniform_buffer
protected

◆ m_descriptor_pool

VkDescriptorPool m_descriptor_pool
protected

◆ m_descriptor_set

VkDescriptorSet m_descriptor_set
protected

◆ m_device

ConstPointer<VulkanDevice> m_device
protected

◆ m_sampler

VkSampler m_sampler
protected

The documentation for this class was generated from the following file: