Deprecated
Please use integer values for boolean shader parameters instead.
Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/ShaderParameterUtils.h |
Include |
#include "ShaderParameterUtils.h" |
template<typename ShaderRHIParamRef>
void SetShaderValue
(
FRHICommandList & RHICmdList,
const ShaderRHIParamRef & Shader,
const FShaderParameter & Parameter,
bool Value,
uint32 ElementIndex
)
Specialization of the above for C++ bool type.