Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/ShaderParameterUtils.h |
Include |
#include "ShaderParameterUtils.h" |
template<typename TRHIShader, typename TRHICmdList>
void SetTextureParameter
(
TRHICmdList & RHICmdList,
TRHIShader * Shader,
const FShaderResourceParameter & TextureParameter,
const FShaderResourceParameter & SamplerParameter,
const FTexture * Texture,
uint32 ElementIndex
)
Sets the value of a shader texture parameter. Template'd on shader type