Skip to content

ludus::tooling::shader_language::ConfigurationValue

Ludus Wiki · API overview · Browse API

Struct

One selected render-graph configuration value, visible to LUSL as an object-like macro.
Configuration values are the only macros that come from outside the source. Sources cannot #define or #undef them.

Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/preprocessor.hpp

#include <ludus/tooling/shader_language/preprocessor.hpp>
struct ludus::tooling::shader_language::ConfigurationValue final

Fields

Name

foundation::BorrowedView<const char> ludus::tooling::shader_language::ConfigurationValue::Name
Macro name: an identifier, unique in the request, at most MAX_CONFIGURATION_TEXT_BYTES bytes.

Related types: foundation::BorrowedView

Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/preprocessor.hpp

Value

foundation::BorrowedView<const char> ludus::tooling::shader_language::ConfigurationValue::Value
Replacement text, lexed as LUSL tokens; may be empty. At most MAX_CONFIGURATION_TEXT_BYTES bytes.

Related types: foundation::BorrowedView

Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/preprocessor.hpp