SpiecsEngine
 
Loading...
Searching...
No Matches

◆ CreateDescriptorSet()

void Spices::RayTracingComposeRenderer::CreateDescriptorSet ( )
overrideprivatevirtual

The interface is inherited from Renderer. Create specific descriptor set for sub pass.

Implements Spices::Renderer.

Definition at line 51 of file RayTracingComposeRenderer.cpp.

52 {
54
55 DescriptorSetBuilder{ "RayTracingCompose", this }
56 .AddStorageTexture(2, 0, VK_SHADER_STAGE_FRAGMENT_BIT, { "RayImage" })
57 .AddStorageTexture(2, 1, VK_SHADER_STAGE_FRAGMENT_BIT, { "RayEntityID", "RayTriangleID" })
58 .Build();
59 }
#define SPICES_PROFILE_ZONE
friend class DescriptorSetBuilder
Allow this class access all data.
Definition Renderer.h:2052
Definition Build.py:1