Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIViewDesc > API/Runtime/RHI/FRHIViewDesc/FBuffer
Used by platform RHIs to create views of buffers. The data in this structure is computed in GetViewInfo(), and is specific to a particular buffer resource. It is not intended to be stored in a view instance.
| Name | FViewInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
Syntax
struct FViewInfo
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNullView | bool | When true, the view is referring to a BUF_NullResource, so a null descriptor should be created. | RHIResources.h | |
| BufferType | EBufferType | Whether this is a typed / structured / raw view etc. | RHIResources.h | |
| Format | EPixelFormat | The format of the data exposed by this view. PF_Unknown for all buffer types except typed buffer views. | RHIResources.h | |
| NumElements | uint32 | The number of elements visible in the view. | RHIResources.h | |
| OffsetInBytes | uint32 | The offset in bytes from the beginning of the viewed buffer resource. | RHIResources.h | |
| SizeInBytes | uint32 | The total number of bytes the data visible in the view covers (i.e. stride * numelements). | RHIResources.h | |
| StrideInBytes | uint32 | The size in bytes of a single element in the view. | RHIResources.h |