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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback