FMaterial::CompilePropertyAndSetMaterialProperty

Entry point for compiling a specific material property. This must call SetMaterialProperty.

Windows
MacOS
Linux

Override Hierarchy

FMaterial::CompilePropertyAndSetMaterialProperty()

FMaterialResource::CompilePropertyAndSetMaterialProperty()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Syntax

int32 CompilePropertyAndSetMaterialProperty
(
    EMaterialProperty Property,
    class FMaterialCompiler * Compiler,
    EShaderFrequency OverrideShaderFrequency,
    bool bUsePreviousFrameTime
) const

Remarks

Entry point for compiling a specific material property. This must call SetMaterialProperty.

Returns

cases to the proper type e.g. Compiler->ForceCast(Ret, GetValueType(Property));

Parameters

Parameter

Description

OverrideShaderFrequency

SF_NumFrequencies to not override

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