Navigation
API > API/Runtime > API/Runtime/Engine
Stores a registry of external textures mapped to their GUIDs.
| Name | FExternalTextureRegistry |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/ExternalTexture.h |
| Include Path | #include "ExternalTexture.h" |
Syntax
class FExternalTextureRegistry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FExternalTextureRegistry() |
Default constructor. | ExternalTexture.h |
Structs
| Name | Remarks |
|---|---|
| FExternalTextureEntry | An entry in the registry. |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Singleton | FExternalTextureRegistry * | Registry singleton instance. | ExternalTexture.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CriticalSection | FCriticalSection | Critical section to protect the set and map above from modification during access with threaded rendering. | ExternalTexture.h | |
| ReferencingMaterialRenderProxies | TSet< const FMaterialRenderProxy * > | Set of registered material render proxies. | ExternalTexture.h | |
| TextureEntries | TMap< FGuid, FExternalTextureEntry > | Maps unique identifiers to texture entries. | ExternalTexture.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetExternalTexture
(
const FMaterialRenderProxy* MaterialRenderProxy, |
Get the external texture with the specified identifier. | ExternalTexture.h | |
bool GetExternalTextureCoordinateOffset
(
const FGuid& InGuid, |
Looks up an texture coordinate offset for given a given GUID. | ExternalTexture.h | |
bool GetExternalTextureCoordinateScaleRotation
(
const FGuid& InGuid, |
Looks up an external texture's coordinate scale rotation. | ExternalTexture.h | |
void RegisterExternalTexture
(
const FGuid& InGuid, |
Register an external texture, its sampler state and coordinate scale/bias against a GUID. | ExternalTexture.h | |
void RemoveMaterialRenderProxyReference
(
const FMaterialRenderProxy* MaterialRenderProxy |
Removes the specified MaterialRenderProxy from the list of those using an external texture. | ExternalTexture.h | |
void UnregisterExternalTexture
(
const FGuid& InGuid |
Removes an external texture given a GUID. | ExternalTexture.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FExternalTextureRegistry & Get() |
Get the registry singleton instance. | ExternalTexture.h |