#include <OgreVulkanDevice.h>
|
| VulkanDevice (VulkanRenderSystem *renderSystem) |
|
| ~VulkanDevice () |
|
void | commitAndNextCommandBuffer (SubmissionType::SubmissionType submissionType=SubmissionType::FlushOnly) |
|
void | createDevice (const FastArray< VkExtensionProperties > &availableExtensions, uint32 maxComputeQueues, uint32 maxTransferQueues) |
|
void | destroy () |
|
void | fillDeviceFeatures () |
|
bool | fillDeviceFeatures2 (VkPhysicalDeviceFeatures2 &deviceFeatures2, VkPhysicalDevice16BitStorageFeatures &device16BitStorageFeatures, VkPhysicalDeviceShaderFloat16Int8Features &deviceShaderFloat16Int8Features) |
|
void | fillQueueCreationInfo (uint32 maxComputeQueues, uint32 maxTransferQueues, FastArray< VkDeviceQueueCreateInfo > &outQueueCiArray) |
|
void | findComputeQueue (FastArray< uint32 > &inOutUsedQueueCount, uint32 maxNumQueues) |
|
void | findGraphicsQueue (FastArray< uint32 > &inOutUsedQueueCount) |
|
void | findTransferQueue (FastArray< uint32 > &inOutUsedQueueCount, uint32 maxNumQueues) |
|
bool | hasDeviceExtension (const IdString extension) const |
|
void | initQueues () |
|
void | setPhysicalDevice (const std::shared_ptr< VulkanInstance > &instance, const VulkanPhysicalDevice &physicalDevice, const VulkanExternalDevice *externalDevice) |
|
void | stall () |
| Waits for the GPU to finish all pending commands. More...
|
|
◆ VulkanDevice()
◆ ~VulkanDevice()
Ogre::VulkanDevice::~VulkanDevice |
( |
| ) |
|
◆ commitAndNextCommandBuffer()
◆ createDevice()
void Ogre::VulkanDevice::createDevice |
( |
const FastArray< VkExtensionProperties > & |
availableExtensions, |
|
|
uint32 |
maxComputeQueues, |
|
|
uint32 |
maxTransferQueues |
|
) |
| |
◆ destroy()
void Ogre::VulkanDevice::destroy |
( |
| ) |
|
◆ destroyQueues()
◆ fillDeviceFeatures()
void Ogre::VulkanDevice::fillDeviceFeatures |
( |
| ) |
|
◆ fillDeviceFeatures2()
bool Ogre::VulkanDevice::fillDeviceFeatures2 |
( |
VkPhysicalDeviceFeatures2 & |
deviceFeatures2, |
|
|
VkPhysicalDevice16BitStorageFeatures & |
device16BitStorageFeatures, |
|
|
VkPhysicalDeviceShaderFloat16Int8Features & |
deviceShaderFloat16Int8Features |
|
) |
| |
◆ fillQueueCreationInfo()
void Ogre::VulkanDevice::fillQueueCreationInfo |
( |
uint32 |
maxComputeQueues, |
|
|
uint32 |
maxTransferQueues, |
|
|
FastArray< VkDeviceQueueCreateInfo > & |
outQueueCiArray |
|
) |
| |
◆ findComputeQueue()
void Ogre::VulkanDevice::findComputeQueue |
( |
FastArray< uint32 > & |
inOutUsedQueueCount, |
|
|
uint32 |
maxNumQueues |
|
) |
| |
◆ findGraphicsQueue()
void Ogre::VulkanDevice::findGraphicsQueue |
( |
FastArray< uint32 > & |
inOutUsedQueueCount | ) |
|
◆ findTransferQueue()
void Ogre::VulkanDevice::findTransferQueue |
( |
FastArray< uint32 > & |
inOutUsedQueueCount, |
|
|
uint32 |
maxNumQueues |
|
) |
| |
◆ hasDeviceExtension()
bool Ogre::VulkanDevice::hasDeviceExtension |
( |
const IdString |
extension | ) |
const |
◆ initQueues()
void Ogre::VulkanDevice::initQueues |
( |
| ) |
|
◆ setPhysicalDevice()
◆ stall()
void Ogre::VulkanDevice::stall |
( |
| ) |
|
Waits for the GPU to finish all pending commands.
◆ mComputeQueues
Additional compute queues to run async compute (besides the main graphics one)
◆ mDevice
◆ mDeviceExtensions
Extensions requested when created. Sorted.
◆ mDeviceExtraFeatures
◆ mDeviceFeatures
VkPhysicalDeviceFeatures Ogre::VulkanDevice::mDeviceFeatures |
◆ mDeviceMemoryProperties
VkPhysicalDeviceMemoryProperties Ogre::VulkanDevice::mDeviceMemoryProperties |
◆ mDeviceProperties
VkPhysicalDeviceProperties Ogre::VulkanDevice::mDeviceProperties |
◆ mGraphicsQueue
Graphics queue is guaranteed by spec to also be able to run compute and transfer A GPU may not have a graphics queue though (Ogre can't run there)
◆ mInstance
◆ mIsExternal
bool Ogre::VulkanDevice::mIsExternal |
◆ mPhysicalDevice
◆ mPipelineCache
VkPipelineCache Ogre::VulkanDevice::mPipelineCache |
◆ mPresentQueue
VkQueue Ogre::VulkanDevice::mPresentQueue |
◆ mQueueProps
FastArray<VkQueueFamilyProperties> Ogre::VulkanDevice::mQueueProps |
◆ mRenderSystem
◆ mSupportedStages
uint32 Ogre::VulkanDevice::mSupportedStages |
◆ mTransferQueues
Additional transfer queues to run async transfers (besides the main graphics one)
◆ mVaoManager
The documentation for this struct was generated from the following file: