Blender V5.0
RE_texture_margin.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4#pragma once
5
9
10#include "BLI_string_ref.hh"
11
12struct ImBuf;
13struct Mesh;
14
25 char *mask,
26 int margin,
27 struct Mesh const *me,
28 blender::StringRef uv_layer,
29 const float uv_offset[2]);
void RE_generate_texturemargin_adjacentfaces(struct ImBuf *ibuf, char *mask, int margin, struct Mesh const *me, blender::StringRef uv_layer, const float uv_offset[2])
ccl_device_inline float2 mask(const MaskType mask, const float2 a)