![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "ShaderParameterMetadata.h"#include "DataDrivenShaderPlatformInfo.h"#include "Interfaces/IPluginManager.h"#include "Misc/CommandLine.h"#include "RenderCore.h"#include "RHIUniformBufferLayoutInitializer.h"#include "RHIShaderBindingLayout.h"#include "Serialization/MemoryHasher.h"#include "Serialization/ShaderKeyGenerator.h"#include "ShaderCore.h"#include "ShaderCompilerCore.h"#include "ShaderParameters.h"#include "ShaderParameterMacros.h"#include "HLSLReservedSpaces.h"Classes | |
| class | FUniformBufferMemberAndOffset |
Macros | |
| #define | VALIDATE_UNIFORM_BUFFER_UNIQUE_NAME (!UE_BUILD_SHIPPING && !UE_BUILD_TEST) |
Variables | |
| const TCHAR *const | kShaderParameterMacroNames [] |
| #define VALIDATE_UNIFORM_BUFFER_UNIQUE_NAME (!UE_BUILD_SHIPPING && !UE_BUILD_TEST) |
| void BuildShaderBindingLayout | ( | TConstArrayView< FShaderParametersMetadata * > | UniformBuffers, |
| EShaderBindingLayoutFlags | BaseShaderBindingLayoutFlags, | ||
| FShaderBindingLayoutContainer & | OutShaderBindingLayoutContainer | ||
| ) |
Build the shader binding layout desc from array of used Uniform buffers which will be bound as static uniform buffers to the rhi
| FShaderParametersMetadata * FindUniformBufferStructByFName | ( | FName | StructName | ) |
| FShaderParametersMetadata * FindUniformBufferStructByLayoutHash | ( | uint32 | Hash | ) |
Finds the FShaderParameterMetadata corresponding to the given uniform buffer layout hash, or null if not found.
| FShaderParametersMetadata * FindUniformBufferStructByName | ( | const TCHAR * | StructName | ) |
Finds the FShaderParametersMetadata corresponding to the given name, or NULL if not found.
| TMap< uint32, FShaderParametersMetadata * > & GetLayoutHashStructMap | ( | ) |
| const TCHAR * GetShaderParameterMacroName | ( | EUniformBufferBaseType | ShaderParameterBaseType | ) |
Returns the name of the macro that should be used for a given shader parameter base type.
| EShaderCodeResourceBindingType ParseShaderResourceBindingType | ( | const TCHAR * | ShaderType | ) |
Parse the shader resource binding from the binding type used in shader code.
| bool SupportShaderPrecisionModifier | ( | EShaderPlatform | Platform | ) |
Returns whether EShaderPrecisionModifier is supported.
| const TCHAR* const kShaderParameterMacroNames[] |