Navigation
API > API/Plugins > API/Plugins/PixelCapture
Inheritance Hierarchy
- FPixelCaptureCapturer
- TSharedFromThis
- FPixelCaptureCapturerRHIToI420Compute
References
| Module | PixelCapture |
| Header | /Engine/Plugins/Media/PixelCapture/Source/PixelCapture/Public/PixelCaptureCapturerRHIToI420Compute.h |
| Include | #include "PixelCaptureCapturerRHIToI420Compute.h" |
Syntax
class FPixelCaptureCapturerRHIToI420Compute :
public FPixelCaptureCapturer,
public TSharedFromThis< FPixelCaptureCapturerRHIToI420Compute >
Remarks
A basic capturer that will capture RHI texture frames to I420 buffers utilizing a compute shader. Involves compute shader reading and processing of GPU textures so should be faster than CPU variant. Input: FPixelCaptureInputFrameRHI Output: FPixelCaptureOutputFrameI420
Constructors
No constructors are accessible with public or protected access.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FPixelCaptureCapturerRHIToI420Compute > | Create
(
float InScale |
Creates a new Capturer capturing the input frame at the given scale. |
Overridden from FPixelCaptureCapturer
| Type | Name | Description | |
|---|---|---|---|
| void | BeginProcess
(
const IPixelCaptureInputFrame& InputFrame, |
Implement this with your specific process to capture the incoming frame. | |
| IPixelCaptureOutputFrame * | CreateOutputBuffer
(
int32 InputWidth, |
Implement this to create a buffer for the output. | |
| FString | Gets the human readable name for this capture process. | ||
| void | Initialize
(
int32 InputWidth, |
Initializes the process to be ready for work. Called once at startup. |