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

Method hasEntryPoint

Source/Falcor/Core/Program/Program.h:383–390  ·  view source on GitHub ↗

Checks if the program description has at least one entry point of a given type.

Source from the content-addressed store, hash-verified

381
382 /// Checks if the program description has at least one entry point of a given type.
383 bool hasEntryPoint(ShaderType stage) const
384 {
385 for (const auto& group : entryPointGroups)
386 for (const auto& entryPoint : group.entryPoints)
387 if (entryPoint.type == stage)
388 return true;
389 return false;
390 }
391
392 /// Set the global type conformances.
393 ProgramDesc& setTypeConformances(TypeConformanceList conformances)

Callers 2

createMethod · 0.80
ProgramMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected