Function Desc

Summary

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

(1) Desc()

(2) explicit Desc(std::string const &filename)

Function overload

Synopsis

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

Desc()

Description

Begin building a description, that initially has no source files or entry points.

Source

Line 54 in Source/Falcor/Core/Program/Program.h.

Synopsis

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

explicit Desc(std::string const &filename)

Description

Begin building a description, based on a single path for source code. This is equivalent to: Desc().sourceFile(path)

Source

Lines 52-55 in Source/Falcor/Core/Program/Program.cpp. Line 59 in Source/Falcor/Core/Program/Program.h.

Program::Desc::Desc(std::string const& path)
{
    addShaderLibrary(path);
}





Add Discussion as Guest

Log in to DocsForge