mac-samples/GLSLShader
GouriKumari 86cfbda0ed Mac samples migrated to unified 2014-11-21 18:09:27 -05:00
..
GLSL Add new sample for GLSL Shaders. 2011-05-05 09:12:24 +02:00
Screenshots Added some screenshots 2012-12-11 17:39:08 -05:00
AppDelegate.cs Clean up using statements and constructors 2011-05-05 09:20:00 +02:00
GLSLShader.csproj Mac samples migrated to unified 2014-11-21 18:09:27 -05:00
GLSLShader.sln Add new sample for GLSL Shaders. 2011-05-05 09:12:24 +02:00
Info.plist Add new sample for GLSL Shaders. 2011-05-05 09:12:24 +02:00
Main.cs Clean up using statements and constructors 2011-05-05 09:20:00 +02:00
MainMenu.xib Add new sample for GLSL Shaders. 2011-05-05 09:12:24 +02:00
MainMenu.xib.designer.cs Add new sample for GLSL Shaders. 2011-05-05 09:12:24 +02:00
MainWindow.cs Clean up using statements and constructors 2011-05-05 09:20:00 +02:00
MainWindow.xib Add new sample for GLSL Shaders. 2011-05-05 09:12:24 +02:00
MainWindow.xib.designer.cs Add new sample for GLSL Shaders. 2011-05-05 09:12:24 +02:00
MainWindowController.cs Clean up using statements and constructors 2011-05-05 09:20:00 +02:00
Metadata.xml Added gallery opt-in to metadata files. 2014-02-20 10:31:26 -05:00
MyOpenGLView.cs bxc#10522: GLSLShader: DrawView on main thread 2013-02-25 15:52:22 -05:00
README.md Updated all Mac Samples README files 2014-08-18 13:41:52 -04:00
Scene.cs Clean up using statements and constructors 2011-05-05 09:20:00 +02:00

README.md

GLSLShader

Simple GLSL shader harness program. Does nothing more than draw a line on the screen. The color is controlled by the shader.vert GSL source.

Concepts shown:

  • Create a shader program.
  • Load GLSL source from a file.
  • Compile the source to attach to a Shader program.
  • Use Program Parameters.
  • Shader Program linkage.
  • Obtaining log info for the different program objects.