2.7 更改快捷键当前命令CTR + B;
/L20"HLSL" HLSL_LANG Line Comment = // Block Comment On = /* Block Comment Off = */ Escape Char = \ String Chars = "' File Extensions = fx hlsl FX HLSL
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> , .?
/Function String = "%^([a-zA-Z_0-9^[^]*]+^)[ ^t]+([^p*&:, ^t^[^]a-zA-Z_0-9.!]++)[~;]"
/Function String 1 = "%[a-zA-Z_0-9*]*::^([a-zA-Z_0-9^~]+^)[ ^t^p]++([^p*&:, ^t^[^]/*^-'=:&a-zA-Z_0-9./(!]++)[~;]"
/Function String 2 = "%[a-zA-Z_0-9][a-zA-Z_0-9^[^]]+[ ^t*]+^([a-zA-Z_0-9]+^)[ ^t]++([^p*&:, ^t^[^]a-zA-Z_0-9./(!]++)[~;]"
/Function String 3 = "%[a-zA-Z_0-9*&$^[^]*]+[ ^t]+[a-zA-Z_0-9*&$^[^]]+[ ^t*]+^([a-zA-Z_0-9]+^)[ ^t]++([^p*&:, ^t^[^]a-zA-Z_0-9./(!]++)[~;]"
/Function String 4 = "%[a-z_0-9^[^]*]++ [a-z_0-9*^[^]]+[ ^t]++[a-z_0-9*^[^]]+[ ^t]++^([*a-z_0-9]+^)[ ^t]++([^p*&:, ^t^[^]a-z_0-9./(!]++)[~;]"
/Function String 5 = "%^([a-zA-Z_0-9^[^]*]+^)[ ^t]++([^p*&:, ^t^[^]a-zA-Z_0-9./()!]++)[~;]"
/Member String = "^([A-Za-z0-9_:.]+^)[ ^t^*&]+$S[ ^t^[^]A-Za-z0-9_]++[(-);,]"
/Variable String = "%[ ^t]++^([!-~ ^t<>]+*[~a-z^p]^)$S[ ^t;,()^-]"
/Indent Strings = "{" "if" "else" ":"
/Unindent Strings = "}"
/Open Brace Strings = "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/C1"Keywords" STYLE_KEYWORD
#define #include
bool void int true false
float float2 float3 float4 float2x2 float3x3 float4x4 float2x4 float3x4 float4x3 float4x2 float2x3 float3x2
half half2 half3 half4 half2x2 half3x3 half4x4
double double2 double2x2
vector matrix string texture
struct
return typedef uniform in out inout extern shared static volatile const
if for while do else inline
sampler2D sampler3D samplerCUBE
COLOR COLOR0 COLOR1 COLOR2 COLOR3 COLOR4 COLOR5 COLOR6 COLOR7 COLOR8 COLOR9 COLOR10 COLOR11
TEXCOORD TEXCOORD0 TEXCOORD1 TEXCOORD2 TEXCOORD3 TEXCOORD4 TEXCOORD5 TEXCOORD6 TEXCOORD7 TEXCOORD8 TEXCOORD9 TEXCOORD10 TEXCOORD11
NORMAL NORMAL0 NORMAL1 NORMAL2 NORMAL3 NORMAL4 NORMAL5 NORMAL6 NORMAL7 NORMAL8 NORMAL9 NORMAL10 NORMAL11
/C2"Effect Framework" STYLE_EXTENSION
sampler_state
asm compile decl VertexShader PixelShader
technique Pass
vs_1_1 vs_2_0 vs_2_x vs_2_sw vs_3_0
ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_x ps_2_sw ps_3_0
/C3"Cg extensions" STYLE_EXTENSION
/C4"Functions" STYLE_FUNCTION
abs acos all any asin atan
atan2 ceil clamp clip cos cosh
cross D3DCOLORtoUBYTE4 ddx ddy degrees determinant
distance dot exp exp2 faceforward floor
fmod frac frexp fwidth isfinite isinf
isnan ldexp length lerp lit log
log10 log2 max min modf mul
noise normalize pow radians reflect refract
round rsqrt saturate sign sin sincos
sinh smoothstep sqrt step tan tanh
tex1D tex1Dgrad tex1Dbias tex1Dgrad tex1Dlog tex1Dproj
tex2D tex2Dbias tex2Dgrad tex2Dlod tex2Dproj tex3D
tex3Dbias tex3Dgrad tex3Dlod tex3Dproj texCUBE texCUBEbias
texCUBEgrad texCUBElod texCUBEproj transpose