Navigation
API > API/Runtime > API/Runtime/Engine
Name
FPreshaderParameter
Type
struct
Header File
/Engine/Source/Runtime/Engine/Public/Materials/MaterialIR.h
Include Path
#include "Materials/MaterialIR.h"
Syntax
struct FPreshaderParameter : public MIR::TInstruction< VK_PreshaderParameter, 1 >
Copy full snippet
Inheritance Hierarchy
Variables
Public
Name
Type
Remarks
Include Path
Unreal Specifiers
Analysis_PreshaderOffset
uint32
Offset into the preshader buffer of the material resource.
Materials/MaterialIR.h
Opcode
UE::Shader::EPreshaderOpcode
Specifies the opcode that needs to be encoded for this parameter. For now, only a small subset of opcodes are supported for material preshader parameters.
Materials/MaterialIR.h
Payload
FPreshaderParameterPayload
Payload data that depends on the opcode.
Materials/MaterialIR.h
SourceParameter
FValue *
Argument that points to the source parameter this dynamic parameter depends on.
Materials/MaterialIR.h
TextureIndex
int32
Index into UMaterialInterface::GetReferencedTextures() pointing to the source parameter's texture.
Materials/MaterialIR.h