FExternalTextureRegistry::RegisterExternalTexture

Register an external texture, its sampler state and coordinate scale/bias against a GUID.

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

void RegisterExternalTexture
(
    const FGuid & InGuid,
    FTextureRHIRef & InTextureRHI,
    FSamplerStateRHIRef & InSamplerStateRHI,
    const FLinearColor & InCoordinateScaleRotation,
    const FLinearColor & InCoordinateOffset
)

Remarks

Register an external texture, its sampler state and coordinate scale/bias against a GUID.

Parameters

Parameter

Description

InGuid

The texture's unique identifier.

InTextureRHI

The texture.

InSamplerStateRHI

The texture's sampler state.

InCoordinateScaleRotation

Texture coordinate scale and rotation parameters (optional; packed into color value).

InCoordinateOffset

Texture coordinate offset (optional; packed into color value).

See Also

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