Module |
|
Header |
/Engine/Plugins/Runtime/TextureShare/Source/TextureShare/Public/ITextureShare.h |
Include |
#include "ITextureShare.h" |
bool ReadFromShare_RenderThread
(
FRHICommandListImmediate & RHICmdList,
const TSharedPtr< ITextureShareItem > & ShareItem,
const FString & TextureName,
FRHITexture * DstTexture,
const FIntRect * DstTextureRect
)
Read from shared object texture to destination texture region
Call inside BeginFrame_RenderThread()() Texture must be registered, before use this function
True if the success
Parameter |
Description |
---|---|
ShareItem |
share object |
TextureName |
unique texture name (case insensitive) |
DstTexture |
Destination RHI texture |
DstTextureRect |
Destination Region (or nullptr) |