Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Notepad++ UDL Preset for the ReShadeFX shading language
<NotepadPlus>
<UserLang name="ReShade FX" ext="fx fxh" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01\ 02 03/* 04*/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2">0x</Keywords>
<Keywords name="Numbers, extras1">A B C D E F a b c d e f</Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1">f</Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range">.e e</Keywords>
<Keywords name="Operators1">, ( ) { } &lt; &gt; ; = + - * / % &amp; | ^ ! : ?</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">{ &lt;</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">} &gt;</Keywords>
<Keywords name="Folders in code2, open">#if #ifdef #ifndef</Keywords>
<Keywords name="Folders in code2, middle">#else #elif</Keywords>
<Keywords name="Folders in code2, close">#endif</Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">void bool bool2 bool3 bool4 int int2 int3 int4 uint uint2 uint3 uint4 float float2 float3 float4 sampler sampler2D texture texture2D uniform struct for while if do else return technique pass static const bool1x1 bool1x2 bool1x3 bool1x4 bool2x1 bool2x2 bool2x3 bool2x4 bool3x1 bool3x2 bool3x3 bool3x4 bool4x1 bool4x2 bool4x3 bool4x4 int1x1 int1x2 int1x3 int1x4 int2x1 int2x2 int2x3 int2x4 int3x1 int3x2 int3x3 int3x4 int4x1 int4x2 int4x3 int4x4 uint1x1 uint1x2 uint1x3 uint1x4 uint2x1 uint2x2 uint2x3 uint2x4 uint3x1 uint3x2 uint3x3 uint3x4 uint4x1 uint4x2 uint4x3 uint4x4 float1x1 float1x2 float1x3 float1x4 float2x1 float2x2 float2x3 float2x4 float3x1 float3x2 float3x3 float3x4 float4x1 float4x2 float4x3 float4x4 in out inout namespace</Keywords>
<Keywords name="Keywords2">abs acos all any asfloat asin asint asuint atan atan2 ceil clamp cos cosh cross ddx ddy degrees determinant distance dot exp exp2 faceforward floor frac frexp fwidth ldexp length lerp log log10 log2 mad max min modf mul normalize pow radians rcp reflect refract round rsqrt saturate sign sin sincos sinh smoothstep sqrt step tan tanh tex2D tex2Dgrad tex2Dlod tex2Dproj transpose trunc tex2Dfetch tex2Dgather tex2Dgatheroffset tex2Dlodoffset tex2Doffset tex2Dsize</Keywords>
<Keywords name="Keywords3">#if defined #elif #else #endif #pragma once warning #error #warning #define #include&#x000D;&#x000A;</Keywords>
<Keywords name="Keywords4">ui_label ui_tooltip ui_type ui_items ui_min ui_max ui_step source min max step keycode mode toggle Width Height Format MipLevels Texture MinFilter MagFilter MipFilter AddressU AddressV AddressW SRGBTexture VertexShader PixelShader RenderTarget RenderTarget0 RenderTarget1 RenderTarget2 RenderTarget3 RenderTarget4 RenderTarget5 RenderTarget6 RenderTarget7 RenderTarget8 RenderTarget9 SRGBWriteEnable ClearRenderTargets RenderTargetWriteMask ColorWriteEnable BlendEnable BlendOp BlendOpAlpha SrcBlend SrcBlendAlpha DestBlend DestBlendAlpha StencilEnable StencilReadMask StencilMask StencilWriteMask StencilFunc StencilRef StencilPassOp StencilPass StencilFailOp StencilFail StencilDepthFailOp StencilZFail</Keywords>
<Keywords name="Keywords5">SV_TARGET SV_TARGET0 SV_TARGET1 SV_TARGET2 SV_TARGET3 SV_TARGET4 SV_TARGET5 SV_TARGET6 SV_TARGET7 SV_TARGET8 SV_TARGET9 SV_POSITION POSITION SV_VERTEXID COLOR COLOR0 COLOR1 COLOR2 COLOR3 COLOR4 COLOR5 COLOR6 COLOR7 COLOR8 COLOR9 TEXCOORD TEXCOORD0 TEXCOORD1 TEXCOORD2 TEXCOORD3 TEXCOORD4 TEXCOORD5 TEXCOORD6 TEXCOORD7 TEXCOORD8 TEXCOORD9 SV_Target SV_Target0 SV_Target1 SV_Target2 SV_Target3 SV_Target4 SV_Target5 SV_Target6 SV_Target7 SV_Target8 SV_Target9 Color Color0 Color1 Color2 Color3 Color4 Color5 Color6 Color7 Color8 Color9 Texcoord Texcoord0 Texcoord1 Texcoord2 Texcoord3 Texcoord4 Texcoord5 Texcoord6 Texcoord7 Texcoord8 Texcoord9 TexCoord TexCoord0 TexCoord1 TexCoord2 TexCoord3 TexCoord4 TexCoord5 TexCoord6 TexCoord7 TexCoord8 TexCoord9 SV_VertexID SV_Position</Keywords>
<Keywords name="Keywords6"></Keywords>
<Keywords name="Keywords7">.x .y .z .w .xx .xy .xz .xw .yx .yy .yz .yw .zx .zy .zz .zw .wx .wy .wz .ww .xxx .xxy .xxz .xxw .xyx .xyy .xyz .xyw .xzx .xzy .xzz .xzw .xwx .xwy .xwz .xww .yxx .yxy .yxz .yxw .yyx .yyy .yyz .yyw .yzx .yzy .yzz .yzw .ywx .ywy .ywz .yww .zxx .zxy .zxz .zxw .zyx .zyy .zyz .zyw .zzx .zzy .zzz .zzw .zwx .zwy .zwz .zww .wxx .wxy .wxz .wxw .wyx .wyy .wyz .wyw .wzx .wzy .wzz .wzw .wwx .wwy .wwz .www .xxxx .xxxy .xxxz .xxxw .xxyx .xxyy .xxyz .xxyw .xxzx .xxzy .xxzz .xxzw .xxwx .xxwy .xxwz .xxww .xyxx .xyxy .xyxz .xyxw .xyyx .xyyy .xyyz .xyyw .xyzx .xyzy .xyzz .xyzw .xywx .xywy .xywz .xyww .xzxx .xzxy .xzxz .xzxw .xzyx .xzyy .xzyz .xzyw .xzzx .xzzy .xzzz .xzzw .xzwx .xzwy .xzwz .xzww .xwxx .xwxy .xwxz .xwxw .xwyx .xwyy .xwyz .xwyw .xwzx .xwzy .xwzz .xwzw .xwwx .xwwy .xwwz .xwww .yxxx .yxxy .yxxz .yxxw .yxyx .yxyy .yxyz .yxyw .yxzx .yxzy .yxzz .yxzw .yxwx .yxwy .yxwz .yxww .yyxx .yyxy .yyxz .yyxw .yyyx .yyyy .yyyz .yyyw .yyzx .yyzy .yyzz .yyzw .yywx .yywy .yywz .yyww .yzxx .yzxy .yzxz .yzxw .yzyx .yzyy .yzyz .yzyw .yzzx .yzzy .yzzz .yzzw .yzwx .yzwy .yzwz .yzww .ywxx .ywxy .ywxz .ywxw .ywyx .ywyy .ywyz .ywyw .ywzx .ywzy .ywzz .ywzw .ywwx .ywwy .ywwz .ywww .zxxx .zxxy .zxxz .zxxw .zxyx .zxyy .zxyz .zxyw .zxzx .zxzy .zxzz .zxzw .zxwx .zxwy .zxwz .zxww .zyxx .zyxy .zyxz .zyxw .zyyx .zyyy .zyyz .zyyw .zyzx .zyzy .zyzz .zyzw .zywx .zywy .zywz .zyww .zzxx .zzxy .zzxz .zzxw .zzyx .zzyy .zzyz .zzyw .zzzx .zzzy .zzzz .zzzw .zzwx .zzwy .zzwz .zzww .zwxx .zwxy .zwxz .zwxw .zwyx .zwyy .zwyz .zwyw .zwzx .zwzy .zwzz .zwzw .zwwx .zwwy .zwwz .zwww .wxxx .wxxy .wxxz .wxxw .wxyx .wxyy .wxyz .wxyw .wxzx .wxzy .wxzz .wxzw .wxwx .wxwy .wxwz .wxww .wyxx .wyxy .wyxz .wyxw .wyyx .wyyy .wyyz .wyyw .wyzx .wyzy .wyzz .wyzw .wywx .wywy .wywz .wyww .wzxx .wzxy .wzxz .wzxw .wzyx .wzyy .wzyz .wzyw .wzzx .wzzy .wzzz .wzzw .wzwx .wzwy .wzwz .wzww .wwxx .wwxy .wwxz .wwxw .wwyx .wwyy .wwyz .wwyw .wwzx .wwzy .wwzz .wwzw .wwwx .wwwy .wwwz .wwww .r .g .b .a .rr .rg .rb .ra .gr .gg .gb .ga .br .bg .bb .ba .ar .ag .ab .aa .rrr .rrg .rrb .rra .rgr .rgg .rgb .rga .rbr .rbg .rbb .rba .rar .rag .rab .raa .grr .grg .grb .gra .ggr .ggg .ggb .gga .gbr .gbg .gbb .gba .gar .gag .gab .gaa .brr .brg .brb .bra .bgr .bgg .bgb .bga .bbr .bbg .bbb .bba .bar .bag .bab .baa .arr .arg .arb .ara .agr .agg .agb .aga .abr .abg .abb .aba .aar .aag .aab .aaa .rrrr .rrrg .rrrb .rrra .rrgr .rrgg .rrgb .rrga .rrbr .rrbg .rrbb .rrba .rrar .rrag .rrab .rraa .rgrr .rgrg .rgrb .rgra .rggr .rggg .rggb .rgga .rgbr .rgbg .rgbb .rgba .rgar .rgag .rgab .rgaa .rbrr .rbrg .rbrb .rbra .rbgr .rbgg .rbgb .rbga .rbbr .rbbg .rbbb .rbba .rbar .rbag .rbab .rbaa .rarr .rarg .rarb .rara .ragr .ragg .ragb .raga .rabr .rabg .rabb .raba .raar .raag .raab .raaa .grrr .grrg .grrb .grra .grgr .grgg .grgb .grga .grbr .grbg .grbb .grba .grar .grag .grab .graa .ggrr .ggrg .ggrb .ggra .gggr .gggg .gggb .ggga .ggbr .ggbg .ggbb .ggba .ggar .ggag .ggab .ggaa .gbrr .gbrg .gbrb .gbra .gbgr .gbgg .gbgb .gbga .gbbr .gbbg .gbbb .gbba .gbar .gbag .gbab .gbaa .garr .garg .garb .gara .gagr .gagg .gagb .gaga .gabr .gabg .gabb .gaba .gaar .gaag .gaab .gaaa .brrr .brrg .brrb .brra .brgr .brgg .brgb .brga .brbr .brbg .brbb .brba .brar .brag .brab .braa .bgrr .bgrg .bgrb .bgra .bggr .bggg .bggb .bgga .bgbr .bgbg .bgbb .bgba .bgar .bgag .bgab .bgaa .bbrr .bbrg .bbrb .bbra .bbgr .bbgg .bbgb .bbga .bbbr .bbbg .bbbb .bbba .bbar .bbag .bbab .bbaa .barr .barg .barb .bara .bagr .bagg .bagb .baga .babr .babg .babb .baba .baar .baag .baab .baaa .arrr .arrg .arrb .arra .argr .argg .argb .arga .arbr .arbg .arbb .arba .arar .arag .arab .araa .agrr .agrg .agrb .agra .aggr .aggg .aggb .agga .agbr .agbg .agbb .agba .agar .agag .agab .agaa .abrr .abrg .abrb .abra .abgr .abgg .abgb .abga .abbr .abbg .abbb .abba .abar .abag .abab .abaa .aarr .aarg .aarb .aara .aagr .aagg .aagb .aaga .aabr .aabg .aabb .aaba .aaar .aaag .aaab .aaaa</Keywords>
<Keywords name="Keywords8">true false CLAMP MIRROR WRAP REPEAT BORDER POINT LINEAR ADD SUBTRACT REVSUBTRACT MIN MAX ZERO ONE SRCCOLOR SRCALPHA INVSRCCOLOR INVSRCALPHA DESTCOLOR DESTALPHA INVDESTCOLOR INVDESTALPHA NEVER ALWAYS EQUAL NEQUAL NOTEQUAL LESS GREATER LEQUAL LESSEQUAL GEQUAL GREATEREQUAL KEEP ZERO REPLACE INCR INCRSAT DECR DECRSAT INVERT [unroll] [loop] [flatten] [branch]</Keywords>
<Keywords name="Delimiters">00&quot; 00&apos; 01\ 01\ 02&quot; 02&apos; 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="FFFFFF" bgColor="000000" colorStyle="0" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="808080" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="FFDF00" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="93E100" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="82BDEE" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="9380FF" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="C0C0C0" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="80FFFF" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="FFFF80" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="80FF80" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="00FF80" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="000000" bgColor="FFFFFF" colorStyle="0" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" colorStyle="0" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="9380FF" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="FF8000" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="33536" />
<WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" colorStyle="0" fontName="" fontStyle="0" nesting="1024" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.