Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Shader compile Options struct (moved out of class to fix clang & gcc compiler bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88165) More...
#include <foray_shadermanager.hpp>
Public Attributes | |
std::vector< osi::Utf8Path > | IncludeDirs = {} |
Additional include dirs passed to glslc via "-I "INCLUDEDIR"" option. | |
std::vector< std::string > | Definitions = {} |
Preprocessor definitions passed to glslc via "-DDEFINITION" option. | |
std::string | EntryPoint = "" |
Shader Stage entry point passed to gslc via "-fentry-point=NAME". Leave empty to let glslc use default ("main") | |
std::vector< std::string > | AdditionalOptions = {} |
Options in this vector are appended to the option string as-is. | |
Shader compile Options struct (moved out of class to fix clang & gcc compiler bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88165)
std::vector<std::string> foray::core::ShaderCompilerConfig::AdditionalOptions = {} |
Options in this vector are appended to the option string as-is.
std::vector<std::string> foray::core::ShaderCompilerConfig::Definitions = {} |
Preprocessor definitions passed to glslc via "-DDEFINITION" option.
std::string foray::core::ShaderCompilerConfig::EntryPoint = "" |
Shader Stage entry point passed to gslc via "-fentry-point=NAME". Leave empty to let glslc use default ("main")
std::vector<osi::Utf8Path> foray::core::ShaderCompilerConfig::IncludeDirs = {} |
Additional include dirs passed to glslc via "-I "INCLUDEDIR"" option.