Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include |
#include "MaterialShared.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialInterface.cpp |
bool DoesMaterialUseTexture
(
const UMaterialInterface * Material,
const UTexture * CheckTexture
)
Check whether the specified texture is needed to render the material instance.
bool - true if the material uses the specified texture.
Parameter |
Description |
---|---|
Texture |
The texture to check. |