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

#include <VulkanCameraManager.h>

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

Public Member Functions

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

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

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

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()

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 files: