![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RecastAlloc.h>
Public Member Functions | |
| rcScopedDelete () | |
| Constructs an instance with a null pointer. | |
| rcScopedDelete (int n) | |
| rcScopedDelete (T *p) | |
| ~rcScopedDelete () | |
| operator T* () | |
| bool | resizeGrow (int n) |
| UE: resize and copy existing memory (n = element count), doesn't destruct elements! | |
A simple helper class used to delete an array when it goes out of scope.
|
inline |
Constructs an instance with a null pointer.
|
inline |
|
inline |
Constructs an instance with the specified pointer.
| [in] | p | An pointer to an allocated array. |
|
inline |
|
inline |
The root array pointer.
| bool rcScopedDelete< T >::resizeGrow | ( | int | n | ) |
UE: resize and copy existing memory (n = element count), doesn't destruct elements!