Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include | #include "ShaderCore.h" |
Syntax
class FShaderParameterMap
Remarks
A map of shader parameter names to registers allocated to that parameter.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FString, FParameterAllocation > | ParameterMap |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddParameterAllocation
(
FStringView ParameterName, |
||
| bool | ContainsParameterAllocation
(
FStringView ParameterName |
||
| uint32 | CountParametersOfType
(
EShaderParameterType InType |
Returns a count of all parameters of the given type. | |
| TOptional< FParameterAllocation > | FindAndRemoveParameterAllocation
(
FStringView ParameterName |
||
| TOptional< FParameterAllocation > | FindParameterAllocation
(
FStringView ParameterName |
||
| bool | FindParameterAllocation
(
FStringView ParameterName, |
||
| void | GetAllParameterNames
(
TArray< FString >& OutNames |
||
| TArray< FStringView > | GetAllParameterNamesOfType
(
EShaderParameterType InType |
Returns an array of all parameters with the given type. | |
| const TMap< FString, FParameterAllocation > & | |||
| void | RemoveParameterAllocation
(
FStringView ParameterName |
||
| void | UpdateHash
(
FSHA1& HashState |
Updates the hash state with the contents of this parameter map. | |
| void | VerifyBindingsAreComplete
(
const TCHAR* ShaderTypeName, |
Checks that all parameters are bound and asserts if any aren't in a debug build |