Go to file
Jim Hourihan 9b2e5f28e4 Removed trailing whitespace characters 2021-08-08 12:45:13 -07:00
README.md README/Comments updated 2019-03-26 12:51:14 -07:00
glsl-mode.el Removed trailing whitespace characters 2021-08-08 12:45:13 -07:00

README.md

GLSL (OpenGL shading language) emacs major mode

This major mode was original authored by Xavier.Decoret@imag.fr and modified/extended by Jim Hourihan. The mode currently handles GLSL 4.6.

This package provides the following features:

  • Syntax coloring (via font-lock) for grammar symbols and builtin functions and variables for up to GLSL version 4.6
  • Indentation for the current line (TAB) and selected region (C-M-).
  • Switching between file.vert and file.frag with S-lefttab (via ff-find-other-file)
  • interactive function glsl-find-man-page prompts for glsl built in function, formats opengl.org url and passes to browse-url

Original GLSL mode website: (http://artis.inrialpes.fr/~Xavier.Decoret/resources/glsl-mode)

See GLSL 4.6 Spec (PDF) the official reference document for GLSL 4.6.