RequiresAdjacencyInformation

Returns true if the Material and Vertex Factory combination require adjacency information.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/TessellationRendering.h

Include

#include "TessellationRendering.h"

Source

/Engine/Source/Runtime/Engine/Private/TessellationRendering.cpp

Syntax

bool RequiresAdjacencyInformation
(
    UMaterialInterface * Material,
    const FVertexFactoryType * VertexFactoryType,
    const FStaticFeatureLevel InFeatureLevel
)

Remarks

Returns true if the Material and Vertex Factory combination require adjacency information. Returns different information depending on whether it is called on the rendering thread or game thread - On the game thread, it looks at the material settings. Will not change answer during a shader compile On the rendering thread, it looks at the current shader that will be used. Will change answer during a shader compile

WARNING: In single-threaded mode as the game thread will return the rendering thread information Please use the explicit game/render thread functions above instead

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