FExternalTextureRegistry

Stores a registry of external textures mapped to their GUIDs.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "ExternalTexture.h"

Syntax

class FExternalTextureRegistry

Remarks

Stores a registry of external textures mapped to their GUIDs.

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Static

FExternalTex...

 

Get()

Get the registry singleton instance.

Public function

bool

 

GetExternalTexture

(
    const FMaterialRenderProxy* Ma...,
    const FGuid& InGuid,
    FTextureRHIRef& OutTextureRHI,
    FSamplerStateRHIRef& OutSamplerSta...
)

Get the external texture with the specified identifier.

Public function

bool

 

GetExternalTextureCoordinateOffset

(
    const FGuid& InGuid,
    FLinearColor& OutCoordinateOffset
)

Looks up an texture coordinate offset for given a given GUID.

Public function

bool

 

GetExternalTextureCoordinateScaleRotation

(
    const FGuid& InGuid,
    FLinearColor& OutCoordinateScaleRo...
)

Looks up an external texture's coordinate scale rotation.

Public function

void

 

RegisterExternalTexture

(
    const FGuid& InGuid,
    FTextureRHIRef& InTextureRHI,
    FSamplerStateRHIRef& InSamplerStat...,
    const FLinearColor& InCoordinateSc...,
    const FLinearColor& InCoordinateOf...
)

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

Public function

void

 

RemoveMaterialRenderProxyReference

(
    const FMaterialRenderProxy* Ma...
)

Removes the specified MaterialRenderProxy from the list of those using an external texture.

Public function

void

 

UnregisterExternalTexture

(
    const FGuid& InGuid
)

Removes an external texture given a GUID.

Constants

Name

Description

Singleton

Registry singleton instance.

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