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 |
void RegisterExternalTexture
&40;
const FGuid & InGuid,
FTextureRHIRef & InTextureRHI,
FSamplerStateRHIRef & InSamplerStateRHI,
const FLinearColor & InCoordinateScaleRotation,
const FLinearColor & InCoordinateOffset
&41;
Remarks
Register an external texture, its sampler state and coordinate scale/bias against a GUID.
Parameters
Name | Description |
---|---|
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). |