diff options
Diffstat (limited to 'source/blender/render/RE_texture_margin.h')
-rw-r--r-- | source/blender/render/RE_texture_margin.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/render/RE_texture_margin.h b/source/blender/render/RE_texture_margin.h index 0533b93a286..3fb151bbedd 100644 --- a/source/blender/render/RE_texture_margin.h +++ b/source/blender/render/RE_texture_margin.h @@ -32,6 +32,15 @@ struct MLoopUV; struct ImBuf; struct DerivedMesh; +/** + * Generate a margin around the textures uv islands by copying pixels from the adjacent polygon. + * + * \param ibuf: the texture image. + * \param mask: pixels with a mask value of 1 are not written to. + * \param margin: the size of the margin in pixels. + * \param me: the mesh to use the polygons of. + * \param mloopuv: the uv data to use. + */ void RE_generate_texturemargin_adjacentfaces( struct ImBuf *ibuf, char *mask, const int margin, struct Mesh const *me, char const *uv_layer); |