|
Blender V4.3
|
Classes | |
| class | TextureMarginMap |
Functions | |
| static void | generate_margin (ImBuf *ibuf, char *mask, const int margin, const Span< float3 > vert_positions, const int edges_num, const OffsetIndices< int > faces, const Span< int > corner_edges, const Span< int > corner_verts, const Span< float2 > mloopuv, const float uv_offset[2]) |
|
static |
Definition at line 498 of file texture_margin.cc.
References BLI_assert, blender::bke::mesh::corner_tris_calc(), blender::bke::mesh::corner_tris_calc_face_indices(), IMB_filter_extend(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), MEM_callocN, MEM_dupallocN, MEM_freeN(), poly_to_tri_count(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), blender::Span< T >::size(), ImBuf::x, and ImBuf::y.
Referenced by RE_generate_texturemargin_adjacentfaces(), and RE_generate_texturemargin_adjacentfaces_dm().