20 const Depsgraph *depsgraph = params.
depsgraph();
24 params.
set_output(
"Is Viewport"_ustr, is_viewport);
38 result.allocate_single_value();
39 result.set_single_value(is_viewport);
55 "Retrieve whether the nodes are being evaluated for the viewport rather than the final "
#define GEO_NODE_IS_VIEWPORT
#define NOD_REGISTER_NODE(REGISTER_FUNC)
virtual bool is_viewport() const
NodeOperation(Context &context, const bNode &node)
Result & get_result(StringRef identifier)
Context & context() const
const Depsgraph * depsgraph() const
void set_output(const UString identifier, T &&value)
NodeOperation(Context &context, const bNode &node)
void node_register_type(bNodeType &ntype)
static NodeOperation * get_compositor_operation(Context &context, const bNode &node)
static void node_declare(NodeDeclarationBuilder &b)
static void node_geo_exec(GeoNodeExecParams params)
static void node_register()
eEvaluationMode DEG_get_mode(const Depsgraph *graph)
void geo_cmp_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGetCompositorOperationFunction get_compositor_operation
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare