FX HLSL : Syntax Rules for Microsoft HLSL and FX files
| script karma
Downloaded by 1298
Comments, bugs, improvements
script versions (upload new version)
|These rules provide syntax hilighting and a set of useful "iabbrev" macros for use when writing HLSL (High Level Shading Language) code for DirectX 9 and above. File types includ e.hlsl and .fx -- the abbreviations are provided to reate template declarations for various tweakable data types in FX, including floats, float vectors, matrices, textures and samplers, render passes, etc. They are found defined at the end of the file.
Finally, the shiftwidth is set to 4 to match common shading-language editing tools such as the defaults for Visual Studio.NET and NVIDIA FX Composer.
|Install in "syntax" and set automated application rules as normal. I suggest trapping files with extensions .hlsl .fx and .fxh|
Click on the package to download.
ip used for rating: 220.127.116.11