diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-05 03:10:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-05 03:10:25 +0300 |
commit | 2b66b372bc39e12f938488a008f38b1945d86aa9 (patch) | |
tree | d8f2409d99bd91d8998c129f76fd4dc82a2a91d5 /source/blender/functions/FN_field.hh | |
parent | 2dace5f3ef54cc25ed31fe20fd33df727f10a9ac (diff) |
Cleanup: use doxygen sections
Diffstat (limited to 'source/blender/functions/FN_field.hh')
-rw-r--r-- | source/blender/functions/FN_field.hh | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/source/blender/functions/FN_field.hh b/source/blender/functions/FN_field.hh index eeb97946029..f65c4e443f2 100644 --- a/source/blender/functions/FN_field.hh +++ b/source/blender/functions/FN_field.hh @@ -391,9 +391,9 @@ Vector<const GVArray *> evaluate_fields(ResourceScope &scope, const FieldContext &context, Span<GVMutableArray *> dst_varrays = {}); -/* -------------------------------------------------------------------- - * Utility functions for simple field creation and evaluation. - */ +/* -------------------------------------------------------------------- */ +/** \name Utility functions for simple field creation and evaluation + * \{ */ void evaluate_constant_field(const GField &field, void *r_value); @@ -423,9 +423,11 @@ class IndexFieldInput final : public FieldInput { ResourceScope &scope) const final; }; -/* -------------------------------------------------------------------- - * #FieldNode inline methods. - */ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name #FieldNode Inline Methods + * \{ */ inline FieldNode::FieldNode(bool is_input, bool depends_on_input) : is_input_(is_input), depends_on_input_(depends_on_input) @@ -467,9 +469,11 @@ inline bool operator!=(const FieldNode &a, const FieldNode &b) return !(a == b); } -/* -------------------------------------------------------------------- - * #FieldOperation inline methods. - */ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name #FieldOperation Inline Methods + * \{ */ inline Span<GField> FieldOperation::inputs() const { @@ -497,9 +501,11 @@ inline const CPPType &FieldOperation::output_cpp_type(int output_index) const return CPPType::get<float>(); } -/* -------------------------------------------------------------------- - * #FieldInput inline methods. - */ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name #FieldInput Inline Methods + * \{ */ inline std::string FieldInput::socket_inspection_name() const { @@ -523,4 +529,6 @@ inline const CPPType &FieldInput::output_cpp_type(int output_index) const return *type_; } +/** \} */ + } // namespace blender::fn |