ITextureShare::ReceiveTexture_RenderThread

Receive (and register texture if need) RHI texture from shared object texture

Windows
MacOS
Linux

References

Module

TextureShare

Header

/Engine/Plugins/Runtime/TextureShare/Source/TextureShare/Public/ITextureShare.h

Include

#include "ITextureShare.h"

Syntax

bool ReceiveTexture_RenderThread
(
    FRHICommandListImmediate & RHICmdList,
    const TSharedPtr< ITextureShareItem > & ShareItem,
    const FString & TextureName,
    FRHITexture * DstTexture,
    const FIntRect * DstTextureRect
)

Remarks

Receive (and register texture if need) RHI texture from shared object texture

Call inside BeginFrame_RenderThread()() Texture info updated automatically from destinationRHI. Previos texture settings reset by this function call

Returns

True if the success

Parameters

Parameter

Description

ShareItem

share object

TextureName

unique texture name (case insensitive)

DstTexture

Destination RHI texture

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss