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
(
const TCHAR* ParameterName, |
||
| bool | ContainsParameterAllocation
(
const TCHAR* ParameterName |
||
| TOptional< FParameterAllocation > | FindParameterAllocation
(
const FString& ParameterName |
||
| bool | FindParameterAllocation
(
const TCHAR* ParameterName, |
||
| void | GetAllParameterNames
(
TArray< FString >& OutNames |
||
| TArray< FString > | GetAllParameterNamesOfType
(
EShaderParameterType InType |
Returns an array of all parameters with the given type. | |
| const TMap< FString, FParameterAllocation > & | |||
| void | RemoveParameterAllocation
(
const TCHAR* 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 |