Navigation
API > API/Runtime > API/Runtime/WebBrowserTexture
Texture sample generated by the WebBrowser.
| Name | FWebBrowserTextureSample |
| Type | class |
| Header File | /Engine/Source/Runtime/WebBrowserTexture/Public/WebBrowserTextureSample.h |
| Include Path | #include "WebBrowserTextureSample.h" |
Syntax
class FWebBrowserTextureSample : public IMediaPoolable
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWebBrowserTextureSample() |
Default constructor. | WebBrowserTextureSample.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FWebBrowserTextureSample() |
Virtual destructor. | WebBrowserTextureSample.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffer | void * | The sample's data buffer. | WebBrowserTextureSample.h | |
| BufferSize | SIZE_T | Current allocation size of Buffer. | WebBrowserTextureSample.h | |
| Dim | FIntPoint | Width and height of the texture sample. | WebBrowserTextureSample.h | |
| Offset | FLinearColor | Offset for the sample. | WebBrowserTextureSample.h | |
| ScaleRotation | FLinearColor | ScaleRotation for the sample. | WebBrowserTextureSample.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const void * GetBuffer() |
WebBrowserTextureSample.h | ||
virtual FIntPoint GetDim() |
WebBrowserTextureSample.h | ||
void * GetMutableBuffer() |
Get a writable pointer to the sample buffer. | WebBrowserTextureSample.h | |
virtual FLinearColor GetOffset() |
WebBrowserTextureSample.h | ||
virtual FLinearColor GetScaleRotation() |
WebBrowserTextureSample.h | ||
virtual uint32 GetStride() |
WebBrowserTextureSample.h | ||
bool Initialize
(
const FIntPoint& InDim |
Initialize the sample. | WebBrowserTextureSample.h | |
void InitializeBuffer
(
void* InBuffer, |
Initialize the sample with a memory buffer. | WebBrowserTextureSample.h | |
int32 InitializeBufferForCopy () |
Initialize the sample for copy externally. | WebBrowserTextureSample.h | |
FRHITexture * InitializeTexture () |
Initialize the sample with a texture resource.This method must be called on the render thread. | WebBrowserTextureSample.h | |
void SetScaleRotationOffset
(
FVector4& InScaleRotation, |
Set the sample Scale, Rotation, Offset. | WebBrowserTextureSample.h |