Module |
|
Header |
/Engine/Plugins/Runtime/TextureShare/Source/TextureShare/Public/ITextureShare.h |
Include |
#include "ITextureShare.h" |
bool SendTexture_RenderThread
(
FRHICommandListImmediate & RHICmdList,
const TSharedPtr< ITextureShareItem > & ShareItem,
const FString & TextureName,
FRHITexture * SrcTexture,
const FIntRect * SrcTextureRect
)
Send (and register texture if need) RHI texture to shared object texture
Call inside BeginFrame_RenderThread()() Texture info updated automatically from sourceTHI. Previos texture settings reset by this function call
True if the success
Parameter |
Description |
---|---|
ShareItem |
share object |
TextureName |
unique texture name (case insensitive) |
SrcTexture |
Source RHI texture |