Function addRayGen

Synopsis

#include <Source/Falcor/Raytracing/RtProgram/RtProgram.h>

Desc & addRayGen(const std::string &raygen)

Description

No description yet.

Source

Lines 53-61 in Source/Falcor/Raytracing/RtProgram/RtProgram.cpp. Line 73 in Source/Falcor/Raytracing/RtProgram/RtProgram.h.

RtProgram::Desc& RtProgram::Desc::addRayGen(const std::string& raygen)
{
    mBaseDesc.beginEntryPointGroup();
    mBaseDesc.entryPoint(ShaderType::RayGeneration, raygen);
    DescExtra::GroupInfo info = { mBaseDesc.mActiveGroup };
    mRayGenEntryPoints.push_back(info);
    return *this;
}





Add Discussion as Guest

Log in