Importing effect is powered by Sylabs with
.fx extension. The syntax is like HLSL, but with custom rules. The effects for all windows platforms can only be built in windows environment.
See stock effect samples to explore built-in effects.
Importer name to
Processor name to
EffectProcessor, like below.
<Item Include="\Effect\Blur.fx"> <Name>Blur</Name> <BuildAction>Compile</BuildAction> <Importer Name="EffectImporter" /> <Processor Name="EffectProcessor"> <HiDef>true</HiDef> <Log>true</Log> </Processor> </Item>
HiDef is only available on Windows target platform that support Shader Model 4.