FMaterialVirtualTextureStack::GetTextureValues

Get the array of [UTexture2D](API\Runtime\Engine\Engine\UTexture2D) objects for the expressions that in the layers of this stack.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp

Syntax

void GetTextureValues
(
    const FMaterialRenderContext & Context,
    const FUniformExpressionSet & UniformExpressionSet,
    UTexture2D const ** OutValues
) const

Remarks

Get the array of UTexture2D objects for the expressions that in the layers of this stack. Can return nullptr objects for layers that don't hold UTexture2D references.

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