SpiecsEngine
 
Loading...
Searching...
No Matches

◆ RayTracingRenderer()

Spices::RayTracingRenderer::RayTracingRenderer ( const std::string & rendererName,
VulkanState & vulkanState,
const std::shared_ptr< VulkanDescriptorPool > & descriptorPool,
const std::shared_ptr< VulkanDevice > & device,
const std::shared_ptr< RendererResourcePool > & rendererResourcePool )

Constructor Function. Init member variables.

Parameters
[in]rendererNameThe name of this Renderer.
[in]vulkanStateThe core vulkan objects that in use.
[in]descriptorPoolThe DescriptorPool.
[in]deviceThe VulkanDevice, used for format query.
[in]rendererResourcePoolThe RendererResourcePool, RT Pool.

Definition at line 16 of file RayTracingRenderer.cpp.

23 : Renderer(rendererName, vulkanState, descriptorPool, device, rendererResourcePool)
24 {
26
27 m_VulkanRayTracing = std::make_shared<VulkanRayTracing>(m_VulkanState);
28 }
#define SPICES_PROFILE_ZONE
static std::shared_ptr< VulkanRayTracing > m_VulkanRayTracing
In Used VulkanRayTracing.
Renderer(const std::string &rendererName, VulkanState &vulkanState, const std::shared_ptr< VulkanDescriptorPool > &DescriptorPool, const std::shared_ptr< VulkanDevice > &device, const std::shared_ptr< RendererResourcePool > &rendererResourcePool, bool isLoadDefaultMaterial=true)
Constructor Function. Init member variables.
Definition Renderer.cpp:16
VulkanState & m_VulkanState
This variable is passed while renderer instanced.
Definition Renderer.h:1992

References Spices::Renderer::Renderer().