Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FExternalTextureRegistry
Description
Get the external texture with the specified identifier.
| Name | GetExternalTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ExternalTexture.h |
| Include Path | #include "ExternalTexture.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ExternalTexture.cpp |
bool GetExternalTexture
(
const FMaterialRenderProxy * MaterialRenderProxy,
const FGuid & InGuid,
FTextureRHIRef & OutTextureRHI,
FSamplerStateRHIRef & OutSamplerStateRHI
)
true on success, false if the identifier was not found.
Parameters
| Name | Remarks |
|---|---|
| MaterialRenderProxy | The material render proxy that is using the texture (will be registered). |
| InGuid | The texture's unique identifier. |
| OutTextureRHI | Will contain the external texture. |
| OutSamplerStateRHI | Will contain the texture's sampler state. |
See Also
-
RegisterExternalTexture
-
UnregisterExternalTexture