Cleanup: Add explanation to sculpt_batches_get

This commit is contained in:
Miguel Pozo
2023-06-28 15:45:12 +02:00
parent fc0e110e60
commit 12a10448f9

View File

@@ -31,8 +31,10 @@ enum SculptBatchFeature {
};
ENUM_OPERATORS(SculptBatchFeature, SCULPT_BATCH_UV);
/** Used by engines that don't use GPUMaterials, like the Workbench and Overlay engines. */
Vector<SculptBatch> sculpt_batches_get(Object *ob, SculptBatchFeature features);
/** Used by EEVEE. */
Vector<SculptBatch> sculpt_batches_per_material_get(Object *ob,
MutableSpan<GPUMaterial *> materials);