#include <WebBrowserTextureSample.h>
Texture sample generated by the WebBrowser.
◆ FWebBrowserTextureSample()
| FWebBrowserTextureSample::FWebBrowserTextureSample |
( |
| ) |
|
|
inline |
◆ ~FWebBrowserTextureSample()
| virtual FWebBrowserTextureSample::~FWebBrowserTextureSample |
( |
| ) |
|
|
inlinevirtual |
◆ GetBuffer()
| virtual const void * FWebBrowserTextureSample::GetBuffer |
( |
| ) |
|
|
inlinevirtual |
◆ GetDim()
◆ GetMutableBuffer()
| void * FWebBrowserTextureSample::GetMutableBuffer |
( |
| ) |
|
|
inline |
Get a writable pointer to the sample buffer.
- Returns
- Sample buffer.
◆ GetOffset()
◆ GetScaleRotation()
◆ GetStride()
◆ Initialize()
| bool FWebBrowserTextureSample::Initialize |
( |
const FIntPoint & |
InDim | ) |
|
|
inline |
Initialize the sample.
- Parameters
-
| InDim | The sample buffer's width and height (in pixels). |
| InDuration | The duration for which the sample is valid. |
- Returns
- true on success, false otherwise.
◆ InitializeBuffer()
| void FWebBrowserTextureSample::InitializeBuffer |
( |
void * |
InBuffer, |
|
|
bool |
Copy |
|
) |
| |
|
inline |
Initialize the sample with a memory buffer.
- Parameters
-
| InBuffer | The buffer containing the sample data. |
| Copy | Whether the buffer should be copied (true) or referenced (false). |
- See also
- InitializeTexture
◆ InitializeBufferForCopy()
| int32 FWebBrowserTextureSample::InitializeBufferForCopy |
( |
| ) |
|
|
inline |
Initialize the sample for copy externally.
- Returns
- The size of the buffer
- See also
- InitializeTexture
◆ InitializeTexture()
Initialize the sample with a texture resource.
- Parameters
-
| RHICmdList | the command list used to create the texture. |
- Returns
- The texture resource object that will hold the sample data.
- Note
- This method must be called on the render thread.
- See also
- InitializeBuffer
◆ SetScaleRotationOffset()
| void FWebBrowserTextureSample::SetScaleRotationOffset |
( |
FVector4 & |
InScaleRotation, |
|
|
FVector4 & |
InOffset |
|
) |
| |
|
inline |
Set the sample Scale, Rotation, Offset.
- Parameters
-
| InScaleRotation | The sample scale and rotation transform (2x2). |
| InOffset | The sample offset. |
The documentation for this class was generated from the following file: