FreeSegmentsLookup

Contains mapping from pixel position to first segment index in search range.

Windows
MacOS
Linux

Syntax

TArray< uint16 > FreeSegmentsLookup

Remarks

Contains mapping from pixel position to first segment index in search range. Only computed when we're in FreeSegments mode to help TestOneRun find the proper segment in O(c) at the expense of a likely cache miss. We'll use a threshold to use this method when the number of iterations saved is worth the cache miss. Obviously, using a uint16 here will reduce cache misses but impose an hopefully enough limitation of texture size 65536x65536 (4GB).

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