Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/HLSLTree > API/Runtime/Engine/HLSLTree/FEmitContext
Syntax
const FMaterial &42; Material
Remarks
TODO - Material values required for preshaders, need to decouple preshaders from material system Current plan is to implement support for externally registered preshader opcodes, and move the preshader opcodes related to material parameters into a separate module. This would require a runtime parallel to CustomDataMap, in order to pass the relevant material data to the preshader VM in a generic way. Would also need some generic interface between the preshaders generated here, and the preshaders stored in FMaterialCompilationOutput