FExternalTextureRegistry::RegisterExternalTexture

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

Choose your operating system:

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