engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 静态 Public 属性 | 所有成员列表
FVirtualTextureFeedbackBufferDesc结构体 参考

Description of how to interpret an RHIBuffer that is being fed to the virtual texture feedback system. 更多...

#include <VirtualTextureFeedbackBuffer.h>

Public 成员函数

RENDERER_API void Init (int32 InBufferSize)
 Initialize for a flat "1D" buffer.
 
RENDERER_API void Init2D (FIntPoint InBufferSize)
 Initialize for a "2D" buffer.
 
RENDERER_API void Init2D (FIntPoint InUnscaledBufferSize, TArrayView< FIntRect > const &InUnscaledViewRects, int32 InBufferScale)
 Initialize for a "2D" buffer. 更多...
 

Public 属性

FIntPoint BufferSize = 0
 Size of buffer. 更多...
 
int32 NumRects = 0
 The number of rectangles to read from the buffer.
 
FIntRect Rects [MaxRectPerTransfer]
 Rectangles to read from the buffer.
 
int32 TotalReadSize = 0
 Number of buffer elements to actually read (calculated from the Rects).
 

静态 Public 属性

static const uint32 MaxRectPerTransfer = 4u
 The maximum number of rectangles to read from a 2D buffer.
 

详细描述

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.

成员函数说明

◆ Init2D()

RENDERER_API void FVirtualTextureFeedbackBufferDesc::Init2D ( FIntPoint  InUnscaledBufferSize,
TArrayView< FIntRect > const &  InUnscaledViewRects,
int32  InBufferScale 
)

Initialize for a "2D" buffer.

Pass in view rectangles that define some subset of the buffer to actually analyze.

类成员变量说明

◆ BufferSize

FIntPoint FVirtualTextureFeedbackBufferDesc::BufferSize = 0

Size of buffer.

1D buffers have Y=1.


该结构体的文档由以下文件生成: