![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ShaderCore.h>
Public Attributes | |
| TMap< FString, FParameterAllocation > | ParameterMap |
Friends | |
| FArchive & | operator<< (FArchive &Ar, FShaderParameterMap &InParameterMap) |
A map of shader parameter names to registers allocated to that parameter.
|
inline |
| void FShaderParameterMap::AddParameterAllocation | ( | FStringView | ParameterName, |
| uint16 | BufferIndex, | ||
| uint16 | BaseIndex, | ||
| uint16 | Size, | ||
| EShaderParameterType | ParameterType | ||
| ) |
| bool FShaderParameterMap::ContainsParameterAllocation | ( | FStringView | ParameterName | ) | const |
| uint32 FShaderParameterMap::CountParametersOfType | ( | EShaderParameterType | InType | ) | const |
Returns a count of all parameters of the given type.
| TOptional< FParameterAllocation > FShaderParameterMap::FindAndRemoveParameterAllocation | ( | FStringView | ParameterName | ) |
| TOptional< FParameterAllocation > FShaderParameterMap::FindParameterAllocation | ( | FStringView | ParameterName | ) | const |
| bool FShaderParameterMap::FindParameterAllocation | ( | FStringView | ParameterName, |
| uint16 & | OutBufferIndex, | ||
| uint16 & | OutBaseIndex, | ||
| uint16 & | OutSize | ||
| ) | const |
| TArray< FStringView > FShaderParameterMap::GetAllParameterNamesOfType | ( | EShaderParameterType | InType | ) | const |
Returns an array of all parameters with the given type.
|
inline |
| void FShaderParameterMap::RemoveParameterAllocation | ( | FStringView | ParameterName | ) |
Updates the hash state with the contents of this parameter map.
| void FShaderParameterMap::VerifyBindingsAreComplete | ( | const TCHAR * | ShaderTypeName, |
| FShaderTarget | Target, | ||
| const class FVertexFactoryType * | InVertexFactoryType | ||
| ) | const |
Checks that all parameters are bound and asserts if any aren't in a debug build
| InVertexFactoryType | can be 0 |
|
friend |
| TMap<FString,FParameterAllocation> FShaderParameterMap::ParameterMap |