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:
authorCampbell Barton <ideasman42@gmail.com>2021-12-08 09:12:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-08 09:12:43 +0300
commit93ba5e237546f58819cdff838334470e30ec0294 (patch)
tree5c20356d9448e661f66962b841282c6e9685f403 /source/blender/render/intern/zbuf.h
parent7e927174396443cdc4c5544dad13faca7299d183 (diff)
Cleanup: move public doc-strings into headers for 'render'
Ref T92709
Diffstat (limited to 'source/blender/render/intern/zbuf.h')
-rw-r--r--source/blender/render/intern/zbuf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/render/intern/zbuf.h b/source/blender/render/intern/zbuf.h
index 41fa15c594f..c5108a9d6a7 100644
--- a/source/blender/render/intern/zbuf.h
+++ b/source/blender/render/intern/zbuf.h
@@ -33,9 +33,16 @@ typedef struct ZSpan {
float *span1, *span2;
} ZSpan;
+/**
+ * Each Z-buffer has coordinates transformed to local rect coordinates, so we can simply clip.
+ */
void zbuf_alloc_span(struct ZSpan *zspan, int rectx, int recty);
void zbuf_free_span(struct ZSpan *zspan);
+/**
+ * Scan-convert for strand triangles, calls function for each x, y coordinate
+ * and gives UV barycentrics and z.
+ */
void zspan_scanconvert(struct ZSpan *zspan,
void *handle,
float *v1,