Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIShaderBindingLayout.h |
| Include | #include "RHIShaderBindingLayout.h" |
Syntax
class FRHIShaderBindingLayout
Remarks
FRHIShaderBindingLayout contains data which is used during shader generation to build the shareable shader resource tables between multiple shaders. All shaders using the same FRHIShaderBindingLayout only have to bind the uniform buffers declared one at runtime. The shaders can have different PSOs but they will define the resources of the uniform buffers at a specific resource index or SRT offset. FRHIShaderBindingLayout is also used at runtime to know how/where the resources of the uniform buffers need to be bound.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHIShaderBindingLayout
(
EShaderBindingLayoutFlags InFlags, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FRHIUniformBufferShaderBindingLayout * | |||
| EShaderBindingLayoutFlags | GetFlags () |
||
| uint32 | GetHash () |
||
| uint32 | |||
| const FRHIUniformBufferShaderBindingLayout & | GetUniformBufferEntry
(
uint32 Index |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FRHIShaderBindingLayout& Other |
Enums
| Type | Name | Description | |
|---|---|---|---|
| API/Runtime/RHI/FRHIShaderBindingLayout_1 |