Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| 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
)
Remarks
Check whether the specified texture is needed to render the material instance. bool - true if the material uses the specified texture.
Parameters
| Name | Description |
|---|---|
| Texture | The texture to check. |