Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Version: 1.0

Posted: 2007-11-02

Build Requirements: Xcode 2.4

Runtime Requirements: Mac OS X 10.4.4

View Source Code:

Download Sample (“GLSLBasicsCocoaDL.zip”, 34.9K)
Download Sample (“GLSLBasicsCocoaDL.dmg”, 83.3K)



Description

Demonstrates the use of GLSL fragment and vertex shaders with a simple NSOpenGLView and also demonstrates a simple OpenGL animation technique using a timer, a selector, and Cocoa "drawrect:" method.

Document Revision History

Date Notes
2007-11-02GLSL basics using NSOpenGLView



Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.