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