FShaderType::ValidateCompiledResult

Checks if the shader type should pass compilation for a particular set of parameters.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/Shader.h

Include

#include "Shader.h"

Source

/Engine/Source/Runtime/RenderCore/Private/Shader.cpp

Syntax

bool ValidateCompiledResult
(
    EShaderPlatform Platform,
    const FShaderParameterMap & ParameterMap,
    TArray< FString > & OutError
) const

Remarks

Checks if the shader type should pass compilation for a particular set of parameters.

Parameters

Parameter

Description

Platform

Platform to validate.

ParameterMap

Shader parameters to validate.

OutError

List for appending validation errors.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss