- UID
- 1
- 精华
- 积分
- 76361
- 威望
- 点
- 宅币
- 个
- 贡献
- 次
- 宅之契约
- 份
- 最后登录
- 1970-1-1
- 在线时间
- 小时
|
如果连这个都要放下载链接是不是太夸张了?我直接放XML的内容了。用法:复制下面的文本,粘贴到记事本,保存到XML,然后用NOTEPAD++设置自定义语言,加载XML即可(也就是导入)。
- <NotepadPlus>
- <UserLang name="HLSL" ext="fx" udlVersion="2.1">
- <Settings>
- <Global caseIgnored="yes" 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">0x</Keywords>
- <Keywords name="Numbers, prefix2"></Keywords>
- <Keywords name="Numbers, extras1"></Keywords>
- <Keywords name="Numbers, extras2"></Keywords>
- <Keywords name="Numbers, suffix1"></Keywords>
- <Keywords name="Numbers, suffix2"></Keywords>
- <Keywords name="Numbers, range"></Keywords>
- <Keywords name="Operators1">## #@ ++ -- & & & || == :: << <<= >> >>= ... = <= >= != *= /= += -= %= &= |= ^= -> : , . > <</Keywords>
- <Keywords name="Operators2"></Keywords>
- <Keywords name="Folders in code1, open">{</Keywords>
- <Keywords name="Folders in code1, middle"></Keywords>
- <Keywords name="Folders in code1, close">}</Keywords>
- <Keywords name="Folders in code2, open"></Keywords>
- <Keywords name="Folders in code2, middle"></Keywords>
- <Keywords name="Folders in code2, close"></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">AddressU
- AddressV
- AddressW
- BorderColor
- Filter
- MaxAnisotropy
- MaxLOD
- MinLOD
- MipLODBias
- ComparisonFunc
- ComparisonFilter
- LightAmbient
- LightAttenuation0
- LightAttenuation1
- LightAttenuation2
- LightDiffuse
- LightDirection
- LightEnable
- LightFalloff
- LightPhi
- LightPosition
- LightRange
- LightSpecular
- LightTheta
- LightType
- MaterialAmbient
- MaterialDiffuse
- MaterialEmissive
- MaterialPower
- MaterialSpecular
- AlphaTestEnable
- BlendOp
- ColorWriteEnable
- DepthBias
- DestBlend
- DitherEnable
- FillMode
- LastPixel
- ShadeMode
- SlopeScaleDepthBias
- SrcBlend
- StencilEnable
- StencilFail
- StencilFunc
- StencilMask
- StencilPass
- StencilRef
- StencilWriteMask
- StencilZFail
- TextureFactor
- Wrap0
- Wrap1
- Wrap2
- Wrap3
- Wrap4
- Wrap5
- Wrap6
- Wrap7
- Wrap8
- Wrap9
- Wrap10
- Wrap11
- Wrap12
- Wrap13
- Wrap14
- Wrap15
- COORD0
- COORD1
- COORD2
- COORD3
- U
- V
- W
- ZEnable
- ZFunc
- ZWriteEnable
- Ambient
- AmbientMaterialSource
- Clipping
- ClipPlaneEnable
- ColorVertex
- CullMode
- DiffuseMaterialSource
- EmissiveMaterialSource
- FogColor
- FogDensity
- FogEnable
- FogEnd
- FogStart
- FogTableMode
- FogVertexMode
- IndexedVertexBlendEnable
- Lighting
- LocalViewer
- MultiSampleAntialias
- MultiSampleMask
- NormalizeNormals
- PatchSegments
- PointScale_A
- PointScale_B
- PointScale_C
- PointScaleEnable
- PointSize
- PointSize_Min
- PointSize_Max
- PointSpriteEnable
- RangeFogEnable
- SpecularEnable
- SpecularMaterialSource
- TweenFactor
- VertexBlend
- AddressU
- AddressV
- AddressW
- BorderColor
- MagFilter
- MaxAnisotropy
- MaxMipLevel
- MinFilter
- MipFilter
- MipMapLodBias
- SRGBTexture
- PixelShader
- VertexShader
- PixelShaderConstant
- PixelShaderConstant1
- PixelShaderConstant2
- PixelShaderConstant3
- PixelShaderConstant4
- PixelShaderConstantB
- PixelShaderConstantI
- PixelShaderConstantF
- VertexShaderConstant
- VertexShaderConstant1
- VertexShaderConstant2
- VertexShaderConstant3
- VertexShaderConstant4
- VertexShaderConstantB
- VertexShaderConstantI
- VertexShaderConstantF
- Texture
- AlphaOp
- AlphaArg0
- AlphaArg1
- AlphaArg2
- ColorArg0
- ColorArg1
- ColorArg2
- ColorOp
- BumpEnvLScale
- BumpEnvLOffset
- BumpEnvMat00
- BumpEnvMat01
- BumpEnvMat10
- BumpEnvMat11
- ResultArg
- TexCoordIndex
- TextureTransformFlags
- ProjectionTransform
- TextureTransform
- ViewTransform
- WorldTransform
- ALPHATOCOVERAGEENABLE
- BLENDENABLE
- SRCBLEND
- DESTBLEND
- BLENDOP
- SRCBLENDALPHA
- DESTBLENDALPHA
- BLENDOPALPHA
- RENDERTARGETWRITEMASK
- DEPTHENABLE
- DEPTHWRITEMASK
- DEPTHFUNC
- STENCILENABLE
- STENCILREADMASK
- STENCILWRITEMASK
- FRONTFACESTENCILFAIL
- FRONTFACESTENCILZFAIL
- FRONTFACESTENCILPASS
- FRONTFACESTENCILFUNC
- BACKFACESTENCILFAIL
- BACKFACESTENCILZFAIL
- BACKFACESTENCILPASS
- BACKFACESTENCILFUNC
- FILLMODE
- CULLMODE
- FRONTCOUNTERCLOCKWISE
- DEPTHBIAS
- DEPTHBIASCLAMP
- SLOPESCALEDDEPTHBIAS
- ZCLIPENABLE
- SCISSORENABLE
- MULTISAMPLEENABLE
- ANTIALIASEDLINEENABLE
- SetVertexShader
- SetGeometryShader
- SetPixelShader
- CompileShader
- struct
- typedef</Keywords>
- <Keywords name="Keywords2">abs
- acos
- all
- any
- asfloat
- asin
- asint
- asuint
- atan
- atan2
- ceil
- clamp
- clip
- cos
- cosh
- cross
- D3DCOLORtoUBYTE4
- ddx
- ddy
- degrees
- determinant
- distance
- dot
- exp
- exp2
- faceforward
- floor
- fmod
- frac
- frexp
- fwidth
- GetRenderTargetSampleCount
- GetRenderTargetSamplePosition
- 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
- tex1Dbias
- tex1Dqrad
- tex1Dlod
- tex1Dproj
- tex2D
- tex2Dbias
- tex2Dqrad
- tex2Dlod
- tex2Dproj
- tex3D
- tex3Dbias
- tex3Dqrad
- tex3Dlod
- tex3Dproj
- texCUBE
- texCUBEbias
- texCUBEqrad
- texCUBElod
- texCUBEproj
- transpose
- trunc</Keywords>
- <Keywords name="Keywords3">Never
- Less
- Equal
- LessEqual
- Greater
- NotEqual
- GreaterEqual
- Always
- Add
- Subtract
- RevSubtract
- Min
- Max
- Zero
- One
- SrcColor
- InvSrcColor
- SrcAlpha
- InvSrcAlpha
- DestAlpha
- InvDestAlpha
- DestColor
- InvDestColor
- SrcAlphaSAT
- BothSrcAlpha
- BothInvSrcAlpha
- BlendFactor
- InvBlendFactor
- SrcColor2
- InvSrcColor2
- Point
- WireFrame
- Solid
- Flat
- Gouraud
- Phong
- Keep
- Zero
- Replace
- IncrSAT
- DecrSAT
- Invert
- Incr
- Decr
- TwoSided
- False
- True
- UseW
- Material
- Color1
- Color2
- D3DCLIPPLANE0
- D3DCLIPPLANE1
- D3DCLIPPLANE2
- D3DCLIPPLANE3
- D3DCLIPPLANE4
- D3DCLIPPLANE5
- None
- CW
- CCW
- Exp
- Exp2
- Linear
- Disable
- Enable
- 1Weights
- 2Weights
- 3Weights
- 0Weights
- Tweening
- Wrap
- Mirror
- Clamp
- Border
- MirrorOnce
- Point
- Anisotropic
- Pyramidalquad
- Gaussianquan
- Convolutionmono
- SELECTARG1
- SELECTARG2
- MODULATE
- MODULATE2X
- MODULATE4X
- ADD
- ADDSIGNED
- ADDSIGNED2X
- SUBTRACT
- ADDSMOOTH
- BLENDDIFFUSEALPHA
- BLENDTEXTUREALPHA
- BLENDFACTORALPHA
- BLENDTEXTUREALPHAPM
- BLENDCURRENTALPHA
- PREMODULATE
- MODULATEALPHA_ADDCOLOR
- MODULATECOLOR_ADDALPHA
- MODULATEINVALPHA_ADDCOLOR
- MODULATEINVCOLOR_ADDALPHA
- BUMPENVMAP
- BUMPENVMAPLUMINANCE
- DOTPRODUCT3
- MULTIPLYADD
- LERP
- FORCE_DWORD
- ALPHAARG0
- ALPHAARG1
- ALPHAARG2
- COLORARG0
- COLORARG1
- COLORARG2
- RESULTARG
- CONSTANT
- CURRENT
- DIFFUSE
- SELECTMASK
- SPECULAR
- TEMP
- TEXTURE
- TFACTOR
- ALPHAREPLICATE
- COMPLEMENT
- COUNT1
- COUNT2
- COUNT3
- COUNT4
- PROJECTED
- VIEW
- PROJECTION
- TEXTURE0
- TEXTURE1
- TEXTURE2
- TEXTURE3
- TEXTURE4
- TEXTURE5
- TEXTURE6
- TEXTURE7
- </Keywords>
- <Keywords name="Keywords4">bool
- bool1
- bool2
- bool3
- bool4
- bool1x1
- bool1x2
- bool1x3
- bool1x4
- bool2x1
- bool2x2
- bool2x3
- bool2x4
- bool3x1
- bool3x2
- bool3x3
- bool3x4
- bool4x1
- bool4x2
- bool4x3
- bool4x4
- int
- int1
- int2
- int3
- int4
- int1x1
- int1x2
- int1x3
- int1x4
- int2x1
- int2x2
- int2x3
- int2x4
- int3x1
- int3x2
- int3x3
- int3x4
- int4x1
- int4x2
- int4x3
- int4x4
- uint
- uint1
- uint2
- uint3
- uint4
- uint1x1
- uint1x2
- uint1x3
- uint1x4
- uint2x1
- uint2x2
- uint2x3
- uint2x4
- uint3x1
- uint3x2
- uint3x3
- uint3x4
- uint4x1
- uint4x2
- uint4x3
- uint4x4
- half
- half1
- half2
- half3
- half4
- half1x1
- half1x2
- half1x3
- half1x4
- half2x1
- half2x2
- half2x3
- half2x4
- half3x1
- half3x2
- half3x3
- half3x4
- half4x1
- half4x2
- half4x3
- half4x4
- float
- float1
- float2
- float3
- float4
- float1x1
- float1x2
- float1x3
- float1x4
- float2x1
- float2x2
- float2x3
- float2x4
- float3x1
- float3x2
- float3x3
- float3x4
- float4x1
- float4x2
- float4x3
- float4x4
- double
- double1
- double2
- double3
- double4
- double1x1
- double1x2
- double1x3
- double1x4
- double2x1
- double2x2
- double2x3
- double2x4
- double3x1
- double3x2
- double3x3
- double3x4
- double4x1
- double4x2
- double4x3
- double4x4
- signed
- unsigned
- snorm
- unorm
- buffer
- scalar
- vector
- matrix
- object
- string
- sampler
- texture
- texture1D
- texture1DArray
- texture2D
- texture2DArray
- texture3D
- texture3DArray
- textureCube
- textureCubeArray
- Texture2DMS
- Texture2DMSArray
- x
- y
- z
- w
- xy
- xz
- xw
- yz
- yw
- zw
- xyz
- yzw
- xyzw
- a
- r
- g
- b
- ar
- ag
- ab
- rg
- rb
- gb
- arg
- rgb
- argb
- ra
- ga
- ba
- gba
- rgba</Keywords>
- <Keywords name="Keywords5">BINORMAL
- BLENDINDICES
- BLENDWEIGHT
- COLOR
- COLOR0
- COLOR1
- NORMAL
- POSITION
- POSITIONT
- PSIZE
- TANGENT
- TEXCOORD
- TEXCOORD0
- TEXCOORD1
- TEXCOORD2
- TEXCOORD3
- TEXCOORD4
- TEXCOORD5
- TEXCOORD6
- TEXCOORD7
- COLOR
- FOG
- TESSFACTOR
- VFACE
- VPOS
- DEPTH
- SV_ClipDistance
- SV_CullDistance
- SV_Depth
- SV_IsFrontFace
- SV_Position
- SV_RenderTargetArrayIndex
- SV_Target
- SV_ViewportArrayIndex
- SV_InstanceID
- SV_PrimitiveID
- SV_VertexID
- SV_Depth
- SV_Position
- SV_Target
- </Keywords>
- <Keywords name="Keywords6">asm
- sampler_state
- stateblock_state
- compile
- vs_1_1
- vs_2_0
- ps_2_0
- vs_2_x
- ps_2_x
- vs_3_0
- ps_3_0
- vs_4_0
- ps_4_0
- gs_4_0
- vs_4_1
- ps_4_1
- gs_4_1
- fx_1_0
- fx_2_0
- fx_4_0
- fx_4_1
- #define
- #elif
- #else
- #endif
- #error
- #if
- #ifdef
- #ifndef
- #include
- #line
- #undef
- __LINE__
- __FILE__
- break
- continue
- discard
- do
- for
- if
- stop
- switch
- while
- unroll
- loop
- flatten
- branch
- forcecase
- call
- inline
- target
- in
- inout
- out
- uniform
- BlendState
- Bool
- Break
- Buffer
- CBuffer
- Compile
- Const
- Continue
- DepthStencilState
- DepthStencilView
- Discard
- Do
- Double
- Else
- Extern
- False
- Float
- For
- GeometryShader
- Half
- If
- In
- Inline
- Inout
- Int
- Matrix
- Namespace
- Nointerpolation
- Out
- Pass
- PixelShader
- RasterizerState
- RenderTargetView
- Return
- Register
- Sampler
- sampler
- Sampler1D
- Sampler2D
- Sampler3D
- SamplerCUBE
- sampler_state
- SamplerComparisonState
- Shared
- Stateblock
- Stateblock_state
- Static
- String
- Struct
- Switch
- TBuffer
- Technique
- Technique10
- texture1
- Texture1D
- Texture1D
- Texture1DArray
- texture2D
- Texture2D
- Texture2DArray
- Texture2DMS
- Texture2DMSArray
- texture3D
- Texture3D
- texturecube
- TextureCube
- True
- Typedef
- Uniform
- Vector
- VertexShader
- Void
- Volatile
- While
- auto
- case catch
- char class const_cast
- default delete dynamic_cast
- enum
- explicit
- friend
- goto
- long
- mutable
- new
- operator
- private protected public
- reinterpret_cast
- short signed sizeof static_cast
- template this throw
- try typename
- union unsigned
- using
- virtual</Keywords>
- <Keywords name="Keywords7"></Keywords>
- <Keywords name="Keywords8"></Keywords>
- <Keywords name="Delimiters">00( 01 02) 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="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="COMMENTS" fgColor="004000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="LINE COMMENTS" fgColor="004000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="KEYWORDS1" fgColor="000040" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="KEYWORDS2" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="KEYWORDS3" fgColor="000080" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="KEYWORDS4" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="KEYWORDS5" fgColor="0080FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="KEYWORDS6" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="OPERATORS" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="FOLDER IN COMMENT" fgColor="008000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="DELIMITERS1" fgColor="000080" bgColor="FFFFFF" fontStyle="0" nesting="50593791" />
- <WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="117702655" />
- <WordsStyle name="DELIMITERS3" fgColor="800000" bgColor="FFFFFF" fontStyle="0" nesting="117701887" />
- <WordsStyle name="DELIMITERS4" fgColor="FF8040" bgColor="FFFFFF" fontStyle="0" nesting="117701887" />
- <WordsStyle name="DELIMITERS5" fgColor="008080" bgColor="FFFFFF" fontStyle="0" nesting="117702655" />
- <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
- </Styles>
- </UserLang>
- </NotepadPlus>
复制代码 |
|