Helper class wrapping 4 SBTs (Raygen, Miss, Callable, Hitgroup) and a raytracing pipeline.
More...
#include <foray_rtpipeline.hpp>
Helper class wrapping 4 SBTs (Raygen, Miss, Callable, Hitgroup) and a raytracing pipeline.
Usage:
- Configure Sbts, by accessing them via GetRaygenSbt(), ... . Refer to ShaderBindingTableBase class definition for more information on shader binding tables.
- Call Build(...) to build the Pipeline and Sbts
◆ RtPipeline()
foray::rtpipe::RtPipeline::RtPipeline |
( |
| ) |
|
◆ ~RtPipeline()
virtual foray::rtpipe::RtPipeline::~RtPipeline |
( |
| ) |
|
|
inlinevirtual |
◆ Build()
void foray::rtpipe::RtPipeline::Build |
( |
core::Context * |
context, |
|
|
VkPipelineLayout |
pipelineLayout |
|
) |
| |
Builds RtPipeline with shaders and shadergroups as defined in Sbt wrappers and builds Sbts.
◆ CmdBindPipeline()
void foray::rtpipe::RtPipeline::CmdBindPipeline |
( |
VkCommandBuffer |
cmdBuffer | ) |
const |
vkCmdBindPipeline(cmdBuffer, RayTracingBindPoint, mPipeline)
◆ Destroy()
void foray::rtpipe::RtPipeline::Destroy |
( |
| ) |
|
◆ mCallablesSbt
◆ mContext
◆ mHitSbt
◆ mMissSbt
◆ mPipeline
VkPipeline foray::rtpipe::RtPipeline::mPipeline = nullptr |
|
protected |
◆ mPipelineLayout
VkPipelineLayout foray::rtpipe::RtPipeline::mPipelineLayout = nullptr |
|
protected |
◆ mRaygenSbt
◆ mShaderCollection
The documentation for this class was generated from the following file: