Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIShaderParameters.h |
| Include | #include "RHIShaderParameters.h" |
Syntax
struct FRHIBatchedShaderParameters
Remarks
Collection of parameters to set in the RHI. These parameters aren't bound to any specific shader until SetBatchedShaderParameters is called.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRHIBatchedShaderParametersAllocator & | Allocator | ||
| TArrayView< FRHIShaderParameterResource > | BindlessParameters | ||
| TArrayView< FRHIShaderParameter > | Parameters | ||
| TArrayView< uint8 > | ParametersData | ||
| TArrayView< FRHIShaderParameterResource > | ResourceParameters |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHIBatchedShaderParameters
(
FRHIBatchedShaderParametersAllocator& InAllocator |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddBindlessParameter
(
ArgsType&&... Args |
||
| void | AddResourceParameter
(
ArgsType&&... Args |
||
| void | Finish () |
Marks the parameters as complete and retains the parameter contents. | |
| bool | |||
| void | Reset () |
Resets the parameters back to an empty state. | |
| void | SetBindlessResourceCollection
(
uint32 Index, |
||
| void | SetBindlessResourceView
(
uint32 Index, |
||
| void | SetBindlessSampler
(
uint32 Index, |
||
| void | SetBindlessTexture
(
uint32 Index, |
||
| void | SetBindlessUAV
(
uint32 Index, |
||
| void | SetResourceCollection
(
uint32 Index, |
||
| void | SetShaderParameter
(
uint32 BufferIndex, |
||
| void | SetShaderResourceViewParameter
(
uint32 Index, |
||
| void | SetShaderSampler
(
uint32 Index, |
||
| void | SetShaderTexture
(
uint32 Index, |
||
| void | SetShaderUniformBuffer
(
uint32 Index, |
||
| void | SetUAVParameter
(
uint32 Index, |