Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialInterface
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetUsedTexturesAndIndices
(
TArray< UTexture* >& OutTextures, |
Return the textures used to render this material and the material indices bound to each. | Materials/MaterialInterface.h | |
virtual void GetUsedTexturesAndIndices
(
TArray< UTexture* >& OutTextures, |
Materials/MaterialInterface.h |
GetUsedTexturesAndIndices(TArray< UTexture * > &, TArray< TArray< int32 > > &, EMaterialQualityLevel::Type, ERHIFeatureLevel::Type)
Description
Return the textures used to render this material and the material indices bound to each. Because material indices can change for each shader, this is limited to a single platform and quality level. An empty array in OutIndices means the index is undefined.
| Name | GetUsedTexturesAndIndices |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInterface.h |
| Include Path | #include "Materials/MaterialInterface.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialInterface.cpp |
virtual void GetUsedTexturesAndIndices
(
TArray < UTexture * > & OutTextures,
TArray < TArray < int32 > > & OutIndices,
EMaterialQualityLevel::Type QualityLevel,
ERHIFeatureLevel::Type FeatureLevel
) const
GetUsedTexturesAndIndices(TArray< UTexture * > &, TArray< TArray< int32 > > &, EMaterialQualityLevel::Type, EShaderPlatform)
| Name | GetUsedTexturesAndIndices |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInterface.h |
| Include Path | #include "Materials/MaterialInterface.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialInterface.cpp |
virtual void GetUsedTexturesAndIndices
(
TArray < UTexture * > & OutTextures,
TArray < TArray < int32 > > & OutIndices,
EMaterialQualityLevel::Type QualityLevel,
EShaderPlatform InShaderPlatform
) const