20#include <unordered_map>
22#include "../TaskSystem/TaskGraphTypes.h"
69 const std::vector<ParameterDescriptor>&
descriptors);
98 std::unordered_map<uint8_t, std::vector<ParameterDescriptor>>
m_params;
101 static const std::vector<ParameterDescriptor>
s_empty;
ComponentTypeID GetComponentTypeID_Static()
Singleton mapping TaskNodeType -> vector of ParameterDescriptor.
void RegisterNodeType(TaskNodeType nodeType, const std::vector< ParameterDescriptor > &descriptors)
Registers a set of parameter descriptors for a node type.
std::unordered_map< uint8_t, std::vector< ParameterDescriptor > > m_params
static const std::vector< ParameterDescriptor > s_empty
Returned by GetNodeParameters when a type has no descriptors.
static ParameterEditorRegistry & Get()
Returns the singleton instance.
const std::vector< ParameterDescriptor > & GetNodeParameters(TaskNodeType nodeType) const
Returns the parameter descriptors for the given node type.
void InitializeBuiltInParameters()
const ParameterDescriptor * GetParameterDescriptor(TaskNodeType nodeType, const std::string ¶mName) const
Returns the descriptor for a specific parameter of a node type.
ParameterEditorRegistry()
< Provides AssetID and INVALID_ASSET_ID
VariableType
Type tags used by TaskValue to identify stored data.
@ None
Uninitialized / empty value.
ParameterBindingType
Describes how a parameter value is provided to a task node.
TaskNodeType
Identifies the role of a node in the task graph.
Full description of one parameter on a node type.
bool required
Must be filled before the node can execute.
VariableType literalValueType
Type hint when bindingType == Literal.
std::string name
Parameter key (e.g. "taskType", "bbKey")
bool allowMultiple
Whether the parameter can accept multiple values (future use).
std::string filterCategory
Optional filter — restricts variable/ID dropdowns to a specific category.
std::string description
Tooltip text.
VariableType filterVarType
Optional filter — restricts BB-variable dropdowns to a specific VariableType.
ParameterBindingType bindingType
How the parameter value is provided.