UMaterialExpression::GetReferencedTexture

Callback to get any texture reference this expression emits.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpression.h

Include

#include "Materials/MaterialExpression.h"

Syntax

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss