Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UMaterialExpressionTextureBase
- UMaterialExpression::GetReferencedTexture()
- UMaterialExpressionTextureBase::GetReferencedTexture()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionTextureBase.h |
| Include | #include "Materials/MaterialExpressionTextureBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
virtual UObject * GetReferencedTexture() const
Remarks
Callback to get any texture reference 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.