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 | |
|---|---|---|---|
| boolbHasNonGraphOutputs | Whether this layout may contain non-render-graph outputs (e.g. RHI UAVs). | ||
| boolbNoEmulatedUniformBuffer | Used for platforms which use emulated ub's, forces a real uniform buffer instead | ||
| boolbUniformView | This struct is a view into uniform buffer object, on platforms that support UBO | ||
| EUniformBufferBindingFlagsBindingFlags | The binding flags describing how this resource can be bound to the RHI. | ||
| FUniformBufferStaticSlotStaticSlot | The static slot (if applicable). | ||
| 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. | |
| TMemoryImageArray< FRHIUniformBufferResourceInitializer > | Resources | The list of all resource inlined into the shader parameter structure. | |
| uint16RenderTargetsOffset | The render target binding slots offset, if it exists. | ||
| uint32ConstantBufferSize | The size of the constant buffer in bytes. | ||
| 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 | |||
| InternalLinkType< COUNTER - CounterBase > |
Typedefs
| Name | Description |
|---|---|
| DerivedType | |
| InternalBaseType |
Constants
| Name | Description |
|---|---|
| CounterBase | |
| InterfaceType |