Lugdunum  0.1.0
Public Member Functions | List of all members
lug::Graphics::Vulkan::Render::BufferPool::Camera Class Reference

#include <Camera.hpp>

Inheritance diagram for lug::Graphics::Vulkan::Render::BufferPool::Camera:
[legend]
Collaboration diagram for lug::Graphics::Vulkan::Render::BufferPool::Camera:
[legend]

Public Member Functions

 Camera (Renderer &renderer)
 
 Camera (const Camera &)=delete
 
 Camera (Camera &&)=delete
 
Cameraoperator= (const Camera &)=delete
 
Cameraoperator= (Camera &&)=delete
 
 ~Camera ()=default
 
const SubBufferallocate (const API::CommandBuffer &cmdBuffer, ::lug::Graphics::Render::Camera::Camera &camera)
 
- Public Member Functions inherited from lug::Graphics::Vulkan::Render::BufferPool::BufferPool< 10, sizeof(Math::Mat4x4f) *2 >
 BufferPool (Renderer &renderer, std::set< uint32_t > queueFamilyIndices)
 
 BufferPool (const BufferPool &)=delete
 
 BufferPool (BufferPool &&)=delete
 
BufferPooloperator= (const BufferPool &)=delete
 
BufferPooloperator= (BufferPool &&)=delete
 
 ~BufferPool ()=default
 
std::tuple< bool, const SubBuffer *> allocate (size_t hash, bool dirty)
 
void free (const SubBuffer *buffer)
 

Additional Inherited Members

- Protected Attributes inherited from lug::Graphics::Vulkan::Render::BufferPool::BufferPool< 10, sizeof(Math::Mat4x4f) *2 >
Renderer_renderer
 
std::set< uint32_t > _queueFamilyIndices
 
std::list< Chunk< subBufferPerChunk, subBufferSize > > _chunks
 
std::map< size_t, SubBuffer *> _subBuffersInUse
 

Detailed Description

Definition at line 24 of file Camera.hpp.

Constructor & Destructor Documentation

◆ Camera() [1/3]

lug::Graphics::Vulkan::Render::BufferPool::Camera::Camera ( Renderer renderer)

Definition at line 12 of file Camera.cpp.

◆ Camera() [2/3]

lug::Graphics::Vulkan::Render::BufferPool::Camera::Camera ( const Camera )
delete

◆ Camera() [3/3]

lug::Graphics::Vulkan::Render::BufferPool::Camera::Camera ( Camera &&  )
delete

◆ ~Camera()

lug::Graphics::Vulkan::Render::BufferPool::Camera::~Camera ( )
default

Member Function Documentation

◆ operator=() [1/2]

Camera& lug::Graphics::Vulkan::Render::BufferPool::Camera::operator= ( const Camera )
delete

◆ operator=() [2/2]

Camera& lug::Graphics::Vulkan::Render::BufferPool::Camera::operator= ( Camera &&  )
delete

◆ allocate()

const SubBuffer * lug::Graphics::Vulkan::Render::BufferPool::Camera::allocate ( const API::CommandBuffer cmdBuffer,
::lug::Graphics::Render::Camera::Camera camera 
)

Definition at line 17 of file Camera.cpp.


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