FCompositeBuffer::IterateRange

Invokes a visitor with a view of each segment that intersects with a range.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Memory/CompositeBuffer.h

Include

#include "Memory/CompositeBuffer.h"

Source

/Engine/Source/Runtime/Core/Private/Memory/CompositeBuffer.cpp

Syntax

void IterateRange
(
    uint64 Offset,
    uint64 Size,
    TFunctionRef< void View)> Visitor
) const

Remarks

Invokes a visitor with a view of each segment that intersects with a range.

Parameters

Parameter

Description

Offset

The byte offset in this buffer to start visiting from.

Size

The number of bytes in the range to visit.

Visitor

The visitor to invoke from zero to GetSegments().Num() times.