![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ImageWriteStream.h>
Public Member Functions | |
| FImagePixelPipe () | |
| FImagePixelPipe (const TFunction< void(TUniquePtr< FImagePixelData > &&)> &InEndpoint) | |
| IMAGEWRITEQUEUE_API void | Push (TUniquePtr< FImagePixelData > &&InImagePixelData) |
| IMAGEWRITEQUEUE_API void | AddEndpoint (TUniquePtr< FImageStreamEndpoint > &&InEndpoint) |
| IMAGEWRITEQUEUE_API void | AddEndpoint (const TFunction< void(TUniquePtr< FImagePixelData > &&)> &InHandler) |
| TArrayView< const TUniquePtr< FImageStreamEndpoint > > | GetEndPoints () const |
Public Attributes | |
| std::atomic_bool | bIsExpecting32BitPixelData = false |
A pipe that receives image data and forwards it onto 0 or more end points, copying the buffer as few times as possible
|
inline |
Default constructor (an empty pipe)
|
inline |
Define a new pipe with a single initial endpoint
| void FImagePixelPipe::AddEndpoint | ( | const TFunction< void(TUniquePtr< FImagePixelData > &&)> & | InHandler | ) |
Add a new end point handler to this pipe as a functor.
| InHandler | A handler function implemented as an anonymous functor. Potentially called on any thread. |
| void FImagePixelPipe::AddEndpoint | ( | TUniquePtr< FImageStreamEndpoint > && | InEndpoint | ) |
Add a new end point handler to this pipe.
| InEndpoint | The new endpoint to add. Potentially used on any thread. |
|
inline |
Access this pipe's current set of end points. Warning: Not thread-safe - should only be called where no other modification to the end points can be happening.
| void FImagePixelPipe::Push | ( | TUniquePtr< FImagePixelData > && | InImagePixelData | ) |
Push the specified pixel data onto this pipe
| InImagePixelData | The data to push through this pipe |
| std::atomic_bool FImagePixelPipe::bIsExpecting32BitPixelData = false |
Boolean flag used to request 32-bit image pixel data, false by default.