Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/VT
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/VT/VirtualTextureFeedbackBuffer.h |
| Include | #include "VT/VirtualTextureFeedbackBuffer.h" |
Syntax
struct FVirtualTextureFeedbackBufferDesc
Remarks
Description of how to interpret an RHIBuffer that is being fed to the virtual texture feedback system. For example a buffer may be a simple flat buffer, or a 2D screen-space buffer with rectangles representing multiple player viewports. In the future we may also want to support append style buffers containing buffer size etc.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FIntPoint | BufferSize | Size of buffer. 1D buffers have Y=1. | |
| int32 | NumRects | The number of rectangles to read from the buffer. | |
| FIntRect[MaxRectPerTransfer] | Rects | Rectangles to read from the buffer. | |
| int32 | TotalReadSize | Number of buffer elements to actually read (calculated from the Rects). |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Init
(
int32 InBufferSize |
Initialize for a flat "1D" buffer. | |
| void | Init2D
(
FIntPoint InBufferSize |
Initialize for a "2D" buffer. | |
| void | Init2D
(
FIntPoint InUnscaledBufferSize, |
Initialize for a "2D" buffer. |
Constants
| Name | Description |
|---|---|
| MaxRectPerTransfer | The maximum number of rectangles to read from a 2D buffer. |