Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ExternalTexture.h |
Include |
#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
)
Register an external texture, its sampler state and coordinate scale/bias against a GUID.
Parameter |
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). |