FX HLSL : Syntax Rules for Microsoft HLSL and FX files
script karma |
Rating 31/15,
Downloaded by 1711 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Kevin Bjorke |
|
script type |
syntax |
|
description |
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 details |
Install in "syntax" and set automated application rules as normal. I suggest trapping files with extensions .hlsl .fx and .fxh |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.191.157.31
|