Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FGlobalDynamicIndexBuffer > API/Runtime/RenderCore/FGlobalDynamicIndexBuffer/Allocate
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/GlobalRenderResources.h |
| Include | #include "GlobalRenderResources.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/GlobalRenderResources.cpp |
FAllocation Allocate
&40;
uint32 NumIndices,
uint32 IndexStride
&41;
Remarks
Allocates space in the global index buffer. An FAllocation with information regarding the allocated memory.
Parameters
| Name | Description |
|---|---|
| NumIndices | The number of indices to allocate. |
| IndexStride | The size of an index (2 or 4 bytes). |