diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-04 16:17:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-04 16:34:52 +0300 |
commit | 3f76c54a688a767c6e43d14d595da05e3cbac5c7 (patch) | |
tree | e287b9ededd926e09025e03fdee9a0b5a4d2aa0b /source | |
parent | f1de256ea018e0850fbe337d04f35422b8fbaf2d (diff) |
Subsurf: Clarify what Subdiv structure is for
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/BKE_subdiv.h | 6 |
1 files changed, 6 insertions, 0 deletions
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. * |