Castor3D 0.14.0
Multiplatform 3D engine
Fonctions membres publiques | Attributs publics | Liste de tous les membres
Référence de la structure castor3d::RenderDevice

#include <RenderDevice.hpp>

Graphe de collaboration de castor3d::RenderDevice:
Collaboration graph
[légende]

Fonctions membres publiques

C3D_API RenderDevice (RenderSystem &renderSystem, ashes::PhysicalDevice const &gpu, AshPluginDescription const &desc, Extensions deviceExtensions)
 
C3D_API ~RenderDevice ()
 
C3D_API VkFormat selectSuitableDepthFormat (VkFormatFeatureFlags requiredFeatures) const
 
C3D_API VkFormat selectSuitableStencilFormat (VkFormatFeatureFlags requiredFeatures) const
 
C3D_API VkFormat selectSuitableDepthStencilFormat (VkFormatFeatureFlags requiredFeatures) const
 
C3D_API VkFormat selectSmallestFormatRSFloatFormat (VkFormatFeatureFlags requiredFeatures) const
 
C3D_API VkFormat selectSmallestFormatRGSFloatFormat (VkFormatFeatureFlags requiredFeatures) const
 
C3D_API VkFormat selectSmallestFormatRGBUFloatFormat (VkFormatFeatureFlags requiredFeatures) const
 
C3D_API VkFormat selectSmallestFormatRGBSFloatFormat (VkFormatFeatureFlags requiredFeatures) const
 
C3D_API VkFormat selectSuitableFormat (std::vector< VkFormat > const &formats, VkFormatFeatureFlags requiredFeatures) const
 
C3D_API QueueDataWrapper graphicsData () const
 
C3D_API size_t graphicsQueueSize () const
 
C3D_API QueueData const * reserveGraphicsData () const
 
C3D_API void putGraphicsData (QueueData const *queueData) const
 
C3D_API crg::GraphContext & makeContext () const
 
C3D_API bool hasExtension (std::string_view const &name) const
 
C3D_API bool hasTerminateInvocation () const
 
C3D_API bool hasDemoteToHelperInvocation () const
 
C3D_API bool hasMeshAndTaskShaders () const
 
C3D_API bool hasMeshShaders () const
 
C3D_API bool hasTaskShaders () const
 
C3D_API bool hasAtomicFloatAdd () const
 
C3D_API bool hasBufferDeviceAddress () const
 
C3D_API bool hasRayTracing () const
 
C3D_API bool hasBindless () const
 
C3D_API uint32_t getMaxBindlessSampled () const
 
C3D_API uint32_t getMaxBindlessStorage () const
 
ashes::Device const * operator-> () const
 
ashes::Device * operator-> ()
 
ashes::Device & operator* ()
 
ashes::Device const & operator* () const
 
uint32_t getGraphicsQueueFamilyIndex () const
 
uint32_t getComputeQueueFamilyIndex () const
 
uint32_t getTransferQueueFamilyIndex () const
 

Attributs publics

RenderSystemrenderSystem
 
ashes::PhysicalDevice const & gpu
 
AshPluginDescription const & desc
 
VkPhysicalDeviceMemoryProperties memoryProperties {}
 
VkPhysicalDeviceFeatures features {}
 
VkPhysicalDeviceProperties properties {}
 
QueueFamilies queueFamilies
 
ashes::DevicePtr device
 
ashes::CommandPool * computeCommandPool {}
 
ashes::CommandPool * transferCommandPool {}
 
ashes::Queue * computeQueue {}
 
ashes::Queue * transferQueue {}
 
GpuBufferPoolUPtr bufferPool
 
VertexBufferPoolUPtr vertexPools
 
ObjectBufferPoolUPtr geometryPools
 
UniformBufferPoolUPtr uboPool
 

Documentation des constructeurs et destructeur

◆ RenderDevice()

C3D_API castor3d::RenderDevice::RenderDevice ( RenderSystem renderSystem,
ashes::PhysicalDevice const &  gpu,
AshPluginDescription const &  desc,
Extensions  deviceExtensions 
)

◆ ~RenderDevice()

C3D_API castor3d::RenderDevice::~RenderDevice ( )

Documentation des fonctions membres

◆ getComputeQueueFamilyIndex()

uint32_t castor3d::RenderDevice::getComputeQueueFamilyIndex ( ) const
inline

◆ getGraphicsQueueFamilyIndex()

uint32_t castor3d::RenderDevice::getGraphicsQueueFamilyIndex ( ) const
inline

◆ getMaxBindlessSampled()

C3D_API uint32_t castor3d::RenderDevice::getMaxBindlessSampled ( ) const

◆ getMaxBindlessStorage()

C3D_API uint32_t castor3d::RenderDevice::getMaxBindlessStorage ( ) const

◆ getTransferQueueFamilyIndex()

uint32_t castor3d::RenderDevice::getTransferQueueFamilyIndex ( ) const
inline

◆ graphicsData()

C3D_API QueueDataWrapper castor3d::RenderDevice::graphicsData ( ) const

◆ graphicsQueueSize()

C3D_API size_t castor3d::RenderDevice::graphicsQueueSize ( ) const

◆ hasAtomicFloatAdd()

C3D_API bool castor3d::RenderDevice::hasAtomicFloatAdd ( ) const

◆ hasBindless()

C3D_API bool castor3d::RenderDevice::hasBindless ( ) const

◆ hasBufferDeviceAddress()

C3D_API bool castor3d::RenderDevice::hasBufferDeviceAddress ( ) const

◆ hasDemoteToHelperInvocation()

C3D_API bool castor3d::RenderDevice::hasDemoteToHelperInvocation ( ) const

◆ hasExtension()

C3D_API bool castor3d::RenderDevice::hasExtension ( std::string_view const &  name) const

◆ hasMeshAndTaskShaders()

C3D_API bool castor3d::RenderDevice::hasMeshAndTaskShaders ( ) const

◆ hasMeshShaders()

C3D_API bool castor3d::RenderDevice::hasMeshShaders ( ) const

◆ hasRayTracing()

C3D_API bool castor3d::RenderDevice::hasRayTracing ( ) const

◆ hasTaskShaders()

C3D_API bool castor3d::RenderDevice::hasTaskShaders ( ) const

◆ hasTerminateInvocation()

C3D_API bool castor3d::RenderDevice::hasTerminateInvocation ( ) const

◆ makeContext()

C3D_API crg::GraphContext & castor3d::RenderDevice::makeContext ( ) const

◆ operator*() [1/2]

ashes::Device & castor3d::RenderDevice::operator* ( )
inline

Références device.

◆ operator*() [2/2]

ashes::Device const & castor3d::RenderDevice::operator* ( ) const
inline

Références device.

◆ operator->() [1/2]

ashes::Device * castor3d::RenderDevice::operator-> ( )
inline

Références device.

◆ operator->() [2/2]

ashes::Device const * castor3d::RenderDevice::operator-> ( ) const
inline

Références device.

◆ putGraphicsData()

C3D_API void castor3d::RenderDevice::putGraphicsData ( QueueData const *  queueData) const

◆ reserveGraphicsData()

C3D_API QueueData const * castor3d::RenderDevice::reserveGraphicsData ( ) const

◆ selectSmallestFormatRGBSFloatFormat()

C3D_API VkFormat castor3d::RenderDevice::selectSmallestFormatRGBSFloatFormat ( VkFormatFeatureFlags  requiredFeatures) const

◆ selectSmallestFormatRGBUFloatFormat()

C3D_API VkFormat castor3d::RenderDevice::selectSmallestFormatRGBUFloatFormat ( VkFormatFeatureFlags  requiredFeatures) const

◆ selectSmallestFormatRGSFloatFormat()

C3D_API VkFormat castor3d::RenderDevice::selectSmallestFormatRGSFloatFormat ( VkFormatFeatureFlags  requiredFeatures) const

◆ selectSmallestFormatRSFloatFormat()

C3D_API VkFormat castor3d::RenderDevice::selectSmallestFormatRSFloatFormat ( VkFormatFeatureFlags  requiredFeatures) const

◆ selectSuitableDepthFormat()

C3D_API VkFormat castor3d::RenderDevice::selectSuitableDepthFormat ( VkFormatFeatureFlags  requiredFeatures) const

◆ selectSuitableDepthStencilFormat()

C3D_API VkFormat castor3d::RenderDevice::selectSuitableDepthStencilFormat ( VkFormatFeatureFlags  requiredFeatures) const

◆ selectSuitableFormat()

C3D_API VkFormat castor3d::RenderDevice::selectSuitableFormat ( std::vector< VkFormat > const &  formats,
VkFormatFeatureFlags  requiredFeatures 
) const

◆ selectSuitableStencilFormat()

C3D_API VkFormat castor3d::RenderDevice::selectSuitableStencilFormat ( VkFormatFeatureFlags  requiredFeatures) const

Documentation des données membres

◆ bufferPool

GpuBufferPoolUPtr castor3d::RenderDevice::bufferPool

◆ computeCommandPool

ashes::CommandPool* castor3d::RenderDevice::computeCommandPool {}

◆ computeQueue

ashes::Queue* castor3d::RenderDevice::computeQueue {}

◆ desc

AshPluginDescription const& castor3d::RenderDevice::desc

◆ device

ashes::DevicePtr castor3d::RenderDevice::device

Référencé par operator*(), et operator->().

◆ features

VkPhysicalDeviceFeatures castor3d::RenderDevice::features {}

◆ geometryPools

ObjectBufferPoolUPtr castor3d::RenderDevice::geometryPools

◆ gpu

ashes::PhysicalDevice const& castor3d::RenderDevice::gpu

◆ memoryProperties

VkPhysicalDeviceMemoryProperties castor3d::RenderDevice::memoryProperties {}

◆ properties

VkPhysicalDeviceProperties castor3d::RenderDevice::properties {}

◆ queueFamilies

QueueFamilies castor3d::RenderDevice::queueFamilies

◆ renderSystem

RenderSystem& castor3d::RenderDevice::renderSystem

◆ transferCommandPool

ashes::CommandPool* castor3d::RenderDevice::transferCommandPool {}

◆ transferQueue

ashes::Queue* castor3d::RenderDevice::transferQueue {}

◆ uboPool

UniformBufferPoolUPtr castor3d::RenderDevice::uboPool

◆ vertexPools

VertexBufferPoolUPtr castor3d::RenderDevice::vertexPools

La documentation de cette structure a été générée à partir du fichier suivant :