[Bf-blender-cvs] [3f76c54a688] blender2.8: Subsurf: Clarify what Subdiv structure is for

Sergey Sharybin noreply at git.blender.org
Tue Sep 4 15:34:59 CEST 2018


Commit: 3f76c54a688a767c6e43d14d595da05e3cbac5c7
Author: Sergey Sharybin
Date:   Tue Sep 4 15:17:33 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB3f76c54a688a767c6e43d14d595da05e3cbac5c7

Subsurf: Clarify what Subdiv structure is for

===================================================================

M	source/blender/blenkernel/BKE_subdiv.h

===================================================================

diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h
index aa14f9724fb..3b21fd889e0 100644
--- a/source/blender/blenkernel/BKE_subdiv.h
+++ b/source/blender/blenkernel/BKE_subdiv.h
@@ -121,6 +121,12 @@ typedef struct SubdivDisplacement {
 	void *user_data;
 } SubdivDisplacement;
 
+/* This structure contains everything needed to construct subdivided surface.
+ * It does not specify storage, memory layout or anything else.
+ * It is possible to create different storages (like, grid based CPU side
+ * buffers, GPU subdivision mesh, CPU side fully qualified mesh) from the same
+ * Subdiv structure.
+ */
 typedef struct Subdiv {
 	/* Settings this subdivision surface is created for.
 	 *



More information about the Bf-blender-cvs mailing list