Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- FRHIResource
- FRHIUniformBufferLayout
- FNiagaraRHIUniformBufferLayout
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include | #include "RHIResources.h" |
Syntax
struct FRHIUniformBufferLayout : public FRHIResource
Remarks
The layout of a uniform buffer in memory.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const bool | bHasNonGraphOutputs | Whether this layout may contain non-render-graph outputs (e.g. RHI UAVs). | |
| const EUniformBufferBindingFlags | BindingFlags | The binding flags describing how this resource can be bound to the RHI. | |
| const bool | bNoEmulatedUniformBuffer | Used for platforms which use emulated ub's, forces a real uniform buffer instead | |
| const uint32 | ConstantBufferSize | The size of the constant buffer in bytes. | |
| const TArray< FRHIUniformBufferResource > | GraphBuffers | The list of all RDG buffer references inlined into the shader parameter structure. | |
| const TArray< FRHIUniformBufferResource > | GraphResources | The list of all RDG resource references inlined into the shader parameter structure. | |
| const TArray< FRHIUniformBufferResource > | GraphTextures | The list of all RDG texture references inlined into the shader parameter structure. | |
| const TArray< FRHIUniformBufferResource > | GraphUniformBuffers | The list of all RDG uniform buffer references inlined into the shader parameter structure. | |
| const uint32 | Hash | ||
| const FString | Name | ||
| const uint16 | RenderTargetsOffset | The render target binding slots offset, if it exists. | |
| const TArray< FRHIUniformBufferResource > | Resources | The list of all resource inlined into the shader parameter structure. | |
| const FUniformBufferStaticSlot | StaticSlot | The static slot (if applicable). | |
| const TArray< FRHIUniformBufferResource > | UniformBuffers | The list of all non-RDG uniform buffer references inlined into the shader parameter structure. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHIUniformBufferLayout
(
const FRHIUniformBufferLayoutInitializer& Initializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FString & | GetDebugName () |
||
| uint32 | GetHash () |
||
| bool | |||
| bool | |||
| bool |