Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FBatchedElements
Description
Reserves space in index array for a mesh element for current number plus expected number.
Reserves space in triangle arrays
| Name | AddReserveTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/BatchedElements.h |
| Include Path | #include "BatchedElements.h" |
| Source | /Engine/Source/Runtime/Engine/Private/BatchedElements.cpp |
void AddReserveTriangles
(
int32 NumMeshTriangles,
const FTexture * Texture,
ESimpleElementBlendMode BlendMode
)
Parameters
| Name | Remarks |
|---|---|
| NumMeshTriangles | number of triangles to reserve space for |
| Texture | used to find the mesh element entry |
| BlendMode | used to find the mesh element entry |
| NumMeshTriangles | number of triangles to reserve space for |
| Texture | used to find the mesh element entry |
| BlendMode | used to find the mesh element entry |