Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Public Attributes | List of all members
foray::core::ShaderCompilerConfig Struct Reference

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::Utf8PathIncludeDirs = {}
 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.
 

Detailed Description

Shader compile Options struct (moved out of class to fix clang & gcc compiler bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88165)

Member Data Documentation

◆ AdditionalOptions

std::vector<std::string> foray::core::ShaderCompilerConfig::AdditionalOptions = {}

Options in this vector are appended to the option string as-is.

◆ Definitions

std::vector<std::string> foray::core::ShaderCompilerConfig::Definitions = {}

Preprocessor definitions passed to glslc via "-DDEFINITION" option.

◆ EntryPoint

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")

◆ IncludeDirs

std::vector<osi::Utf8Path> foray::core::ShaderCompilerConfig::IncludeDirs = {}

Additional include dirs passed to glslc via "-I "INCLUDEDIR"" option.


The documentation for this struct was generated from the following file: