Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderParameterMetadata.h |
| Include | #include "ShaderParameterMetadata.h" |
Syntax
class FShaderCompilerDefineNameCache
Remarks
Utility class for caching FName and other info for a shader compiler define. Don't use directly, use SET_SHADER_DEFINE or SET_SHADER_DEFINE_AND_COMPILE_ARGUMENT macros defined in ShaderCore.h.
Placed here temporarily to solve static analysis warning related to deprecation of public access to FShaderCompilerDefinitions. This structure needs to be declared before including "Runtime/RenderCore/Internal/ShaderCompilerDefinitions.h", which would normally be accomplished by including ShaderCore.h, but we can't include that without producing a circular include, which generates a static analysis warning. The first attempt to solve this involved placing the include after this structure declaration in ShaderCore.h, but that leads to an "Include after first code block" static analysis warning. We don't want to move this structure to the internal header, so we need to place it in another header that's also included in "ShaderCore.h", to avoid producing that warning. This is the only candidate shader related source file, so it makes sense to place here for now, and can be moved back to ShaderCore.h next major version.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FShaderCompilerDefineNameCache
(
const TCHAR* InName |
Functions
Operators
| Type | Name | Description | |
|---|---|---|---|