Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIUniformBufferLayoutInitializer.h |
| Include | #include "RHIUniformBufferLayoutInitializer.h" |
Syntax
struct FRHIUniformBufferLayoutInitializer
Remarks
Initializer for the layout of a uniform buffer in memory.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHasNonGraphOutputs | Whether this layout may contain non-render-graph outputs (e.g. RHI UAVs). | |
| EUniformBufferBindingFlags | BindingFlags | The binding flags describing how this resource can be bound to the RHI. | |
| bool | bNoEmulatedUniformBuffer | Used for platforms which use emulated ub's, forces a real uniform buffer instead | |
| uint32 | ConstantBufferSize | The size of the constant buffer in bytes. | |
| TMemoryImageArray< FRHIUniformBufferResourceInitializer > | GraphBuffers | The list of all RDG buffer references inlined into the shader parameter structure. | |
| TMemoryImageArray< FRHIUniformBufferResourceInitializer > | GraphResources | The list of all RDG resource references inlined into the shader parameter structure. | |
| TMemoryImageArray< FRHIUniformBufferResourceInitializer > | GraphTextures | The list of all RDG texture references inlined into the shader parameter structure. | |
| TMemoryImageArray< FRHIUniformBufferResourceInitializer > | GraphUniformBuffers | The list of all RDG uniform buffer references inlined into the shader parameter structure. | |
| uint16 | RenderTargetsOffset | The render target binding slots offset, if it exists. | |
| TMemoryImageArray< FRHIUniformBufferResourceInitializer > | Resources | The list of all resource inlined into the shader parameter structure. | |
| FUniformBufferStaticSlot | StaticSlot | The static slot (if applicable). | |
| TMemoryImageArray< FRHIUniformBufferResourceInitializer > | UniformBuffers | The list of all non-RDG uniform buffer references inlined into the shader parameter structure. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHIUniformBufferLayoutInitializer
(
const TCHAR* InName |
|||
FRHIUniformBufferLayoutInitializer
(
const TCHAR* InName, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ComputeHash () |
||
| void | CopyFrom
(
const FRHIUniformBufferLayoutInitializer& Source |
||
| const FMemoryImageString & | GetDebugName () |
||
| uint32 | GetHash () |
||
| RHI_API const FTypeLayoutDesc & | |||
| bool | |||
| bool | |||
| bool | |||
| RHI_API FTypeLayoutDesc & |
Classes
| Type | Name | Description | |
|---|---|---|---|
| InternalLinkType |
Typedefs
| Name | Description |
|---|---|
| DerivedType | |
| InternalBaseType |
Constants
| Name | Description |
|---|---|
| CounterBase | |
| InterfaceType |