engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FWebBrowserTextureSample类 参考

Texture sample generated by the WebBrowser. 更多...

#include <WebBrowserTextureSample.h>

+ 类 FWebBrowserTextureSample 继承关系图:

Public 成员函数

 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.
 
- Public 成员函数 继承自 IMediaPoolable
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.

参数
InDimThe sample buffer's width and height (in pixels).
InDurationThe 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.

参数
InBufferThe buffer containing the sample data.
CopyWhether 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.

参数
InScaleRotationThe sample scale and rotation transform (2x2).
InOffsetThe sample offset.

该类的文档由以下文件生成: