Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIViewDesc > API/Runtime/RHI/FRHIViewDesc/FBufferSRV
These static asserts are to ensure the descriptor is minimal in size and can be copied around by-value. If they fail, consider re-packing the struct.
| Name | FInitializer |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
Syntax
struct FInitializer : private FRHIViewDesc
Inheritance Hierarchy
- FRHIViewDesc → FRHIViewDesc::FBufferSRV::FInitializer
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInitializer() |
RHIResources.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FRHICommandListBase | friend | RHIResources.h | ||
| FRHIViewDesc | friend | RHIResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInitializer & SetFormat
(
EPixelFormat InFormat |
RHIResources.h | ||
FInitializer & SetNumElements
(
uint32 InNumElements |
RHIResources.h | ||
FInitializer & SetOffsetInBytes
(
uint32 InOffsetBytes |
RHIResources.h | ||
FInitializer & SetRayTracingScene
(
FRHIRayTracingScene* InRayTracingScene |
RHIResources.h | ||
FInitializer & SetStride
(
uint32 InStride |
RHIResources.h | ||
FInitializer & SetType
(
EBufferType Type |
RHIResources.h | ||
FInitializer & SetTypeFromBuffer
(
FRHIBuffer* TargetBuffer |
Provided for back-compat with existing code. | RHIResources.h |