Texture sample generated by the WebBrowser.
更多...
#include <WebBrowserTextureSample.h>
|
|
| FWebBrowserTextureSample () |
| | Default constructor.
|
| |
| void * | GetMutableBuffer () |
| | Get a writable pointer to the sample buffer. 更多...
|
| |
| bool | Initialize (const FIntPoint &InDim) |
| | Initialize the sample. 更多...
|
| |
| void | InitializeBuffer (void *InBuffer, bool Copy) |
| | Initialize the sample with a memory buffer. 更多...
|
| |
| FRHITexture2D * | InitializeTexture () |
| | Initialize the sample with a texture resource. 更多...
|
| |
| void | SetScaleRotationOffset (FVector4 &InScaleRotation, FVector4 &InOffset) |
| | Set the sample Scale, Rotation, Offset. 更多...
|
| |
|
virtual | ~FWebBrowserTextureSample () |
| | Virtual destructor.
|
| |
| virtual void | InitializePoolable () |
| | Called when the object is removed from the pool. 更多...
|
| |
|
virtual bool | IsReadyForReuse () |
| | Used to check if returned object is ready for reuse right away
|
| |
| virtual void | ShutdownPoolable () |
| | Called when the object added to the pool. 更多...
|
| |
|
virtual | ~IMediaPoolable () |
| | Virtual destructor.
|
| |
Texture sample generated by the WebBrowser.
◆ GetMutableBuffer()
| void * FWebBrowserTextureSample::GetMutableBuffer |
( |
| ) |
|
|
inline |
Get a writable pointer to the sample buffer.
- 返回
- Sample buffer.
◆ Initialize()
| bool FWebBrowserTextureSample::Initialize |
( |
const FIntPoint & |
InDim | ) |
|
|
inline |
Initialize the sample.
- 参数
-
| InDim | The sample buffer's width and height (in pixels). |
| InDuration | The duration for which the sample is valid. |
- 返回
- true on success, false otherwise.
◆ InitializeBuffer()
| void FWebBrowserTextureSample::InitializeBuffer |
( |
void * |
InBuffer, |
|
|
bool |
Copy |
|
) |
| |
|
inline |
Initialize the sample with a memory buffer.
- 参数
-
| InBuffer | The buffer containing the sample data. |
| Copy | Whether the buffer should be copied (true) or referenced (false). |
- 参见
- InitializeTexture
◆ InitializeTexture()
| FRHITexture2D * FWebBrowserTextureSample::InitializeTexture |
( |
| ) |
|
|
inline |
Initialize the sample with a texture resource.
- 返回
- The texture resource object that will hold the sample data.
- 注解
- This method must be called on the render thread.
- 参见
- InitializeBuffer
◆ SetScaleRotationOffset()
| void FWebBrowserTextureSample::SetScaleRotationOffset |
( |
FVector4 & |
InScaleRotation, |
|
|
FVector4 & |
InOffset |
|
) |
| |
|
inline |
Set the sample Scale, Rotation, Offset.
- 参数
-
| InScaleRotation | The sample scale and rotation transform (2x2). |
| InOffset | The sample offset. |
该类的文档由以下文件生成:
- WebBrowserTextureSample.h