FGlobalDynamicIndexBuffer::Allocate

Allocates space in the global index buffer.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderResource.h

Include

#include "RenderResource.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderResource.cpp

Syntax

FAllocation Allocate
(
    uint32 NumIndices,
    uint32 IndexStride
)

Remarks

Allocates space in the global index buffer.

Returns

An FAllocation with information regarding the allocated memory.

Parameters

Parameter

Description

NumIndices

The number of indices to allocate.

IndexStride

The size of an index (2 or 4 bytes).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss