Navigation
API > API/Plugins > API/Plugins/PixelCapture
Inheritance Hierarchy
- TSharedFromThis
- FPixelCaptureCapturerMultiFormat
References
| Module | PixelCapture |
| Header | /Engine/Plugins/Media/PixelCapture/Source/PixelCapture/Public/PixelCaptureCapturerMultiFormat.h |
| Include | #include "PixelCaptureCapturerMultiFormat.h" |
Syntax
class FPixelCaptureCapturerMultiFormat : public TSharedFromThis< FPixelCaptureCapturerMultiFormat >
Remarks
A capturer that contains multiple formats of multi layer capture processes. Feed it a IPixelCaptureCapturerSource that will create the appropriate base capturers. Input: User defined Output: Capturer defined
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDisconnected | ||
| IPixelCaptureCapturerSource * | CapturerSource | ||
| FCriticalSection | EventMutex | ||
| TMap< int32, TSharedPtr< FPixelCaptureCapturerLayered > > | FormatCapturers | ||
| TMap< int32, FEvent * > | FormatEvents | ||
| FCriticalSection | FormatGuard | ||
| TArray< float > | LayerScales | ||
| TArray< FIntPoint > | LayerSizes | ||
| FOnComplete | OnComplete | ||
| TAtomic< int > | PendingFormats |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPixelCaptureCapturerMultiFormat
(
IPixelCaptureCapturerSource* InCapturerSource, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddOutputFormat
(
int32 Format |
Sets up a capture pipeline for the given destination format. | |
| void | Capture
(
const IPixelCaptureInputFrame& SourceFrame |
Begins the capture process of a given frame. | |
| void | CheckFormatEvent
(
int32 Format |
||
| TSharedPtr< FPixelCaptureCapturerMultiFormat > | Create
(
IPixelCaptureCapturerSource* InCapturerSource, |
Create a new multi-format multi-Layered Capturer. | |
| void | |||
| void | |||
| FEvent * | GetEventForFormat
(
int32 Format |
||
| int32 | GetHeight
(
int LayerIndex |
Gets the frame height of a given output layer. | |
| int32 | GetNumLayers () |
Gets the number of layers in the multi-layered capturers. | |
| int32 | GetWidth
(
int LayerIndex |
Gets the frame width of a given output layer. | |
| void | OnCaptureFormatComplete
(
int32 Format |
||
| void | Call to notify this capturer that it has been disconnected and no more frames will be captured and any waiting for format calls should stop waiting. | ||
| TSharedPtr< IPixelCaptureOutputFrame > | RequestFormat
(
int32 Format, |
Requests the output in a specific format. | |
| TSharedPtr< IPixelCaptureOutputFrame > | WaitForFormat
(
int32 Format, |
Like RequestFormat except if the format does not exist it will add it and then wait for the format to have output. |
Typedefs
| Name | Description |
|---|---|
| FOnComplete | Listen on this to be notified when a frame completes all capture formats/layers. |