Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FExternalTextureRegistry
Description
Register an external texture, its sampler state and coordinate scale/bias against a GUID.
| Name | RegisterExternalTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ExternalTexture.h |
| Include Path | #include "ExternalTexture.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ExternalTexture.cpp |
void RegisterExternalTexture
(
const FGuid & InGuid,
FTextureRHIRef & InTextureRHI,
FSamplerStateRHIRef & InSamplerStateRHI,
const FLinearColor & InCoordinateScaleRotation,
const FLinearColor & InCoordinateOffset
)
Parameters
| Name | Remarks |
|---|---|
| InGuid | The texture's unique identifier. |
| InTextureRHI | The texture. |
| InSamplerStateRHI | The texture's sampler state. |
| InCoordinateScaleRotation | Texture coordinate scale and rotation parameters (optional; packed into color value). |
| InCoordinateOffset | Texture coordinate offset (optional; packed into color value). |
See Also
-
UnregisterExternalTexture