Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/nodes/NOD_socket_declarations.hh')
-rw-r--r--source/blender/nodes/NOD_socket_declarations.hh58
1 files changed, 37 insertions, 21 deletions
diff --git a/source/blender/nodes/NOD_socket_declarations.hh b/source/blender/nodes/NOD_socket_declarations.hh
index 6eac77b1d6b..00874cad766 100644
--- a/source/blender/nodes/NOD_socket_declarations.hh
+++ b/source/blender/nodes/NOD_socket_declarations.hh
@@ -201,9 +201,9 @@ class Geometry : public SocketDeclaration {
bool matches(const bNodeSocket &socket) const override;
};
-/* --------------------------------------------------------------------
- * #FloatBuilder inline methods.
- */
+/* -------------------------------------------------------------------- */
+/** \name #FloatBuilder Inline Methods
+ * \{ */
inline FloatBuilder &FloatBuilder::min(const float value)
{
@@ -229,9 +229,11 @@ inline FloatBuilder &FloatBuilder::subtype(PropertySubType subtype)
return *this;
}
-/* --------------------------------------------------------------------
- * #IntBuilder inline methods.
- */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name #IntBuilder Inline Methods
+ * \{ */
inline IntBuilder &IntBuilder::min(const int value)
{
@@ -257,9 +259,11 @@ inline IntBuilder &IntBuilder::subtype(PropertySubType subtype)
return *this;
}
-/* --------------------------------------------------------------------
- * #VectorBuilder inline methods.
- */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name #VectorBuilder Inline Methods
+ * \{ */
inline VectorBuilder &VectorBuilder::default_value(const float3 value)
{
@@ -285,9 +289,11 @@ inline VectorBuilder &VectorBuilder::max(const float max)
return *this;
}
-/* --------------------------------------------------------------------
- * #BoolBuilder inline methods.
- */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name #BoolBuilder Inline Methods
+ * \{ */
inline BoolBuilder &BoolBuilder::default_value(const bool value)
{
@@ -295,9 +301,11 @@ inline BoolBuilder &BoolBuilder::default_value(const bool value)
return *this;
}
-/* --------------------------------------------------------------------
- * #ColorBuilder inline methods.
- */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name #ColorBuilder Inline Methods
+ * \{ */
inline ColorBuilder &ColorBuilder::default_value(const ColorGeometry4f value)
{
@@ -305,9 +313,11 @@ inline ColorBuilder &ColorBuilder::default_value(const ColorGeometry4f value)
return *this;
}
-/* --------------------------------------------------------------------
- * #IDSocketDeclaration and children inline methods.
- */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name #IDSocketDeclaration and Children Inline Methods
+ * \{ */
inline IDSocketDeclaration::IDSocketDeclaration(const char *idname) : idname_(idname)
{
@@ -329,11 +339,15 @@ inline Texture::Texture() : IDSocketDeclaration("NodeSocketTexture")
{
}
+/** \} */
+
} // namespace blender::nodes::decl
-/* --------------------------------------------------------------------
- * Extern template instantiations that are defined in `intern/extern_implementations.cc`.
- */
+/* -------------------------------------------------------------------- */
+/** \name External Template Instantiations
+ *
+ * Defined in `intern/extern_implementations.cc`.
+ * \{ */
namespace blender::nodes {
#define MAKE_EXTERN_SOCKET_DECLARATION(TYPE) \
@@ -351,3 +365,5 @@ MAKE_EXTERN_SOCKET_DECLARATION(decl::Geometry)
#undef MAKE_EXTERN_SOCKET_DECLARATION
} // namespace blender::nodes
+
+/** \} */