Function hasEntryPoint

Synopsis

#include <Source/Falcor/Core/Program/Program.h>

bool hasEntryPoint(ShaderType stage) const

Description

No description yet.

Source

Lines 156-166 in Source/Falcor/Core/Program/Program.cpp. Line 105 in Source/Falcor/Core/Program/Program.h.

bool Program::Desc::hasEntryPoint(ShaderType stage) const
{
    for(auto& entryPoint : mEntryPoints)
    {
        if(entryPoint.stage == stage)
        {
            return true;
        }
    }
    return false;
}





Add Discussion as Guest

Log in to DocsForge