|
Blender V5.3
|
#include <bmesh_polygon.hh>
Public Member Functions | |
| void * | allocate (size_t size, size_t alignment, const char *name) |
| void * | allocate_zero (size_t size, size_t alignment, const char *name) |
| void | deallocate (void *ptr) |
Static Public Attributes | |
| static constexpr size_t | min_alignment = Alignment |
Like GuardedAllocator, but makes sure each allocation has a minimum alignment. One use case is reusing an allocation between multiple types that have different alignment requirements. The default alignment template parameter should be large enough for any type in practice.
Definition at line 71 of file bmesh_polygon.hh.
|
inline |
Definition at line 75 of file bmesh_polygon.hh.
References blender::ATTR_NONNULL().
|
inline |
Definition at line 79 of file bmesh_polygon.hh.
References blender::ATTR_WARN_UNUSED_RESULT, and blender::BM_face_calc_area_uv_signed().
|
inline |
Definition at line 90 of file bmesh_polygon.hh.
|
staticconstexpr |
Definition at line 73 of file bmesh_polygon.hh.