FExternalTextureRegistry::GetExternalTexture

Get the external texture with the specified identifier.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ExternalTexture.h

Include

#include "ExternalTexture.h"

Source

/Engine/Source/Runtime/Engine/Private/ExternalTexture.cpp

Syntax

bool GetExternalTexture
(
    const FMaterialRenderProxy * MaterialRenderProxy,
    const FGuid & InGuid,
    FTextureRHIRef & OutTextureRHI,
    FSamplerStateRHIRef & OutSamplerStateRHI
)

Remarks

Get the external texture with the specified identifier.

Returns

true on success, false if the identifier was not found.

Parameters

Parameter

Description

MaterialRenderProxy

The material render proxy that is using the texture (will be registered).

InGuid

The texture's unique identifier.

OutTextureRHI

Will contain the external texture.

OutSamplerStateRHI

Will contain the texture's sampler state.

See Also

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback