Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UMaterialExpressionSparseVolumeT-
- UMaterialExpression::GetReferencedTexture()
- UMaterialExpressionSparseVolumeTextureBase::GetReferencedTexture()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSparseVolumeTextureBase.h |
| Include | #include "Materials/MaterialExpressionSparseVolumeTextureBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
virtual UObject &42; GetReferencedTexture&40;&41; 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.