#168 User Defined Language for GLSL 1.50 Core profile

closed
cchris
UI (101)
5
2010-01-19
2010-01-03
Josh Engwer
No

Based off the OpenGL 3.2 Quick Reference Card
[http://www.opengl.org/registry]

Expects file extension to be: .glsl, .vert, .geom, .frag

Focuses only on the 'core profile' of GLSL 1.50:

* Preprocessor directives, macros [e.g. #version, enable, __LINE__]
are highlighted GREEN [0x008000]
* Built-in inputs,outputs,constants [e.g. gl_Position,gl_MaxVertexAttribs]
are highlighted GREEN [0x008000]
* Types, qualifiers [e.g. in, uniform, float, mat4, sampler1D, row_major]
are highlighted BLUE [0x0000FF]
* Statements [e.g. if, else, switch, case, discard, return, break, for, do]
are highlighted BLUE [0x0000FF]
* Reserved keywords [e.g. asm, class, image1D, #include]
are highlighted RED [0xFF0000]
* Built-in functions [e.g. sin(), dot(), dFdx(), textureLod(), EmitVertex()]
are highlighted BOLD SKY BLUE [0x0080FF]

NOTE:
* Deprecated constructs [e.g. varying, attribute] are not highlighted
* 'compatibility profile' constructs [e.g. gl_BackColor, ftransform()]
are not highlighted

Discussion

  • Josh Engwer

    Josh Engwer - 2010-01-09

    User Define Language file for GLSL 1.50 Core (revision 1)

     
  • Josh Engwer

    Josh Engwer - 2010-01-09

    Revised User Define Language file (revision 1).

    * Added the following file extensions: .vs, .gs, .fs

    ADDITIONAL NOTE:

    * Swizzles (e.g. .xyzw, .rgba, .stpq) are not highlighted

     
  • Don HO

    Don HO - 2010-01-19
    • assigned_to: nobody --> cchris
     
  • cchris

    cchris - 2010-01-19
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks