Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/TessellationRendering.h |
Include |
#include "TessellationRendering.h" |
Source |
/Engine/Source/Runtime/Engine/Private/TessellationRendering.cpp |
bool RequiresAdjacencyInformation
(
UMaterialInterface * Material,
const FVertexFactoryType * VertexFactoryType,
const FStaticFeatureLevel InFeatureLevel
)
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