Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialExpression
- UMaterialExpression::GetReferencedTexture()
- UMaterialExpressionCurveAtlasRowParameter::GetReferencedTexture()
- UMaterialExpressionFontSample::GetReferencedTexture()
- UMaterialExpressionRuntimeVirtualTextureSample::GetReferencedTexture()
- UMaterialExpressionSparseVolumeTextureBase::GetReferencedTexture()
- UMaterialExpressionTextureBase::GetReferencedTexture()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpression.h |
Include | #include "Materials/MaterialExpression.h" |
virtual UObject * GetReferencedTexture() const
Remarks
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.