Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FExternalTextureRegistry
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ExternalTexture.h |
Include | #include "ExternalTexture.h" |
Source | /Engine/Source/Runtime/Engine/Private/ExternalTexture.cpp |
bool GetExternalTexture
&40;
const FMaterialRenderProxy &42; MaterialRenderProxy,
const FGuid & InGuid,
FTextureRHIRef & OutTextureRHI,
FSamplerStateRHIRef & OutSamplerStateRHI
&41;
Remarks
Get the external texture with the specified identifier. true on success, false if the identifier was not found.
Parameters
Name | Description |
---|---|
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. |