FRange

Windows
MacOS
Linux

References

Module

VulkanRHI

Header

/Engine/Source/Runtime/VulkanRHI/Public/VulkanMemory.h

Include

#include "VulkanMemory.h"

Syntax

struct FRange

Variables

Name Description

Public variable

uint32

 

Offset

Public variable

uint32

 

Size

Functions

Name Description

Public function Static

int32

 

Add

(
    TArray< FRange >& Ranges,
    const FRange& Item
)

Adds to the array while maintaing the sort.

Public function Static

void

 

AllocateFromEntry

(
    TArray< FRange >& Ranges,
    int32 Index,
    uint32 SizeToAllocate
)

Attempts to allocate from an entry - can remove it if it was used up

Public function Static

int32

 

AppendAndTryToMerge

(
    TArray< FRange >& Ranges,
    const FRange& Item
)

Tries to append the item to the end but may end up merging it with the neighbor

Public function Static

int32

 

InsertAndTryToMerge

(
    TArray< FRange >& Ranges,
    const FRange& Item,
    int32 ProposedIndex
)

Tries to insert the item so it has index ProposedIndex, but may end up merging it with neighbors

Public function Static

void

 

JoinConsecutiveRanges

(
    TArray< FRange >& Ranges
)

Public function Static

void

 

SanityCheck

(
    TArray< FRange >& Ranges
)

Sanity checks an array of ranges

Operators

Name Description

Public function Const

bool

 

operator<

(
    const FRange& In
)

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