ITextureShare::WriteToShare_RenderThread

Write texture region to 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 WriteToShare_RenderThread
(
    FRHICommandListImmediate & RHICmdList,
    const TSharedPtr< ITextureShareItem > & ShareItem,
    const FString & TextureName,
    FRHITexture * SrcTexture,
    const FIntRect * SrcTextureRect
)

Remarks

Write texture region to shared object texture.

Call inside BeginFrame_RenderThread()() Texture must be registered, before use this function

Returns

True if the success

Parameters

Parameter

Description

ShareItem

share object

TextureName

unique texture name (case insensitive)

SrcTexture

Source RHI texture

SrcTextureRect

Source Region (or nullptr)

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