Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UMaterialExpressionTextureBase
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionTextureBase.h |
Include | #include "Materials/MaterialExpressionTextureBase.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
static bool VerifySamplerType
&40;
ERHIFeatureLevel::Type FeatureLevel,
const ITargetPlatform &42; TargetPlatform,
const UTexture &42; Texture,
EMaterialSamplerType SamplerType,
FString & OutErrorMessage
&41;
Remarks
Verify that the texture and sampler type. Generates a compiler waring if they do not.
Parameters
Name | Description |
---|---|
Texture | The texture to verify. A nullptr texture is considered valid! |
SamplerType | The sampler type to verify. |
OutErrorMessage | If 'false' is returned, will contain a message describing the error |