Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialExpression
Description
To get any texture references this expression emits. This is used to link the compiled uniform expressions with their default texture values. Any UMaterialExpression whose compilation creates a texture uniform expression (eg Compiler->Texture, Compiler->TextureParameter) must implement this.
Derived Overrides
- UMaterialExpressionCurveAtlasRowParameter::GetReferencedTexture
- UMaterialExpressionFontSample::GetReferencedTexture
- UMaterialExpressionRuntimeVirtualTextureSample::GetReferencedTexture
- UMaterialExpressionSparseVolumeTextureBase::GetReferencedTexture
- UMaterialExpressionTextureBase::GetReferencedTexture
| Name | GetReferencedTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpression.h |
| Include Path | #include "Materials/MaterialExpression.h" |
virtual UObject * GetReferencedTexture() const