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.

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