Navigation
API > API/Runtime > API/Runtime/RHI
The layout of a uniform buffer in memory.
| Name | FRHIUniformBufferLayout |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
Syntax
struct FRHIUniformBufferLayout : public FRHIResource
Inheritance Hierarchy
- FRHIResource → FRHIUniformBufferLayout
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RHIResources.h | |||
FRHIUniformBufferLayout
(
const FRHIUniformBufferLayoutInitializer& Initializer |
RHIResources.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BindingFlags | const EUniformBufferBindingFlags | The binding flags describing how this resource can be bound to the RHI. | RHIResources.h | |
| ConstantBufferSize | const uint32 | The size of the constant buffer in bytes. | RHIResources.h | |
| Flags | const ERHIUniformBufferFlags | Flags to signal different Uniform Buffer states. | RHIResources.h | |
| GraphBuffers | const TArray< FRHIUniformBufferResource > | The list of all RDG buffer references inlined into the shader parameter structure. | RHIResources.h | |
| GraphResources | const TArray< FRHIUniformBufferResource > | The list of all RDG resource references inlined into the shader parameter structure. | RHIResources.h | |
| GraphTextures | const TArray< FRHIUniformBufferResource > | The list of all RDG texture references inlined into the shader parameter structure. | RHIResources.h | |
| GraphUniformBuffers | const TArray< FRHIUniformBufferResource > | The list of all RDG uniform buffer references inlined into the shader parameter structure. | RHIResources.h | |
| Hash | const uint32 | RHIResources.h | ||
| Name | const FString | RHIResources.h | ||
| RenderTargetsOffset | const uint16 | The render target binding slots offset, if it exists. | RHIResources.h | |
| Resources | const TArray< FRHIUniformBufferResource > | The list of all resource inlined into the shader parameter structure. | RHIResources.h | |
| StaticSlot | const FUniformBufferStaticSlot | The static slot (if applicable). | RHIResources.h | |
| UniformBuffers | const TArray< FRHIUniformBufferResource > | The list of all non-RDG uniform buffer references inlined into the shader parameter structure. | RHIResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FString & GetDebugName() |
RHIResources.h | ||
uint32 GetHash() |
RHIResources.h | ||
bool HasExternalOutputs() |
RHIResources.h | ||
bool HasRenderTargets() |
RHIResources.h | ||
bool HasStaticSlot() |
RHIResources.h |