Lluvia
ll::vulkan::Device Class Reference

#include <Device.h>

Inheritance diagram for ll::vulkan::Device:
Collaboration diagram for ll::vulkan::Device:

Public Member Functions

 Device ()=delete
 
 Device (const Device &device)=delete
 
 Device (Device &&device)=delete
 
 Device (const vk::Device &device, const vk::PhysicalDevice &physicalDevice, const uint32_t computeQueueFamilyIndex, const std::shared_ptr< ll::vulkan::Instance > &instance)
 
 ~Device ()
 
Deviceoperator= (const Device &device)=delete
 
Deviceoperator= (Device &&device)=delete
 
vk::Device & get () noexcept
 
vk::PhysicalDevice & getPhysicalDevice () noexcept
 
const vk::PhysicalDeviceLimits & getPhysicalDeviceLimits () noexcept
 
vk::CommandPool & getCommandPool () noexcept
 
uint32_t getComputeFamilyQueueIndex () const noexcept
 
ll::vec3ui getComputeLocalShape (ll::ComputeDimension dimension) const noexcept
 
bool isImageDescriptorSupported (const ll::ImageDescriptor &descriptor) const noexcept
 
std::unique_ptr< ll::CommandBuffercreateCommandBuffer ()
 
void run (const ll::CommandBuffer &cmdBuffer)
 

Constructor & Destructor Documentation

◆ Device() [1/4]

ll::vulkan::Device::Device ( )
delete

◆ Device() [2/4]

ll::vulkan::Device::Device ( const Device device)
delete

◆ Device() [3/4]

ll::vulkan::Device::Device ( Device &&  device)
delete

◆ Device() [4/4]

ll::vulkan::Device::Device ( const vk::Device &  device,
const vk::PhysicalDevice &  physicalDevice,
const uint32_t  computeQueueFamilyIndex,
const std::shared_ptr< ll::vulkan::Instance > &  instance 
)

◆ ~Device()

ll::vulkan::Device::~Device ( )

Member Function Documentation

◆ createCommandBuffer()

std::unique_ptr<ll::CommandBuffer> ll::vulkan::Device::createCommandBuffer ( )

◆ get()

vk::Device& ll::vulkan::Device::get ( )
noexcept

◆ getCommandPool()

vk::CommandPool& ll::vulkan::Device::getCommandPool ( )
noexcept

◆ getComputeFamilyQueueIndex()

uint32_t ll::vulkan::Device::getComputeFamilyQueueIndex ( ) const
noexcept

◆ getComputeLocalShape()

ll::vec3ui ll::vulkan::Device::getComputeLocalShape ( ll::ComputeDimension  dimension) const
noexcept

◆ getPhysicalDevice()

vk::PhysicalDevice& ll::vulkan::Device::getPhysicalDevice ( )
noexcept

◆ getPhysicalDeviceLimits()

const vk::PhysicalDeviceLimits& ll::vulkan::Device::getPhysicalDeviceLimits ( )
noexcept

◆ isImageDescriptorSupported()

bool ll::vulkan::Device::isImageDescriptorSupported ( const ll::ImageDescriptor descriptor) const
noexcept

◆ operator=() [1/2]

Device& ll::vulkan::Device::operator= ( const Device device)
delete

◆ operator=() [2/2]

Device& ll::vulkan::Device::operator= ( Device &&  device)
delete

◆ run()

void ll::vulkan::Device::run ( const ll::CommandBuffer cmdBuffer)

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