MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / getKernel

Method getKernel

Source/Falcor/Core/Program/ProgramVersion.cpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59{}
60
61const EntryPointKernel* EntryPointGroupKernels::getKernel(ShaderType type) const
62{
63 for (auto& pKernel : mKernels)
64 {
65 if (pKernel->getType() == type)
66 return pKernel.get();
67 }
68 return nullptr;
69}
70
71//
72// ProgramKernels

Callers 1

RtStateObjectMethod · 0.80

Calls 2

getTypeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected