FTextureLayout::AddSurfaceInner

Recursively traverses the tree depth first and searches for a large enough leaf node to contain the requested allocation.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/TextureLayout.h

Include

#include "TextureLayout.h"

Syntax

int32 AddSurfaceInner
(
    int32 NodeIndex,
    uint32 ElementSizeX,
    uint32 ElementSizeY,
    bool bAllowTextureEnlargement
)

Remarks

Recursively traverses the tree depth first and searches for a large enough leaf node to contain the requested allocation.