Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon ProjectBuilder or CodeWarrior 8.3+

View Source Code:

Download Sample (“aglClipBufferRect.zip”, 52.0K)
Download Sample (“aglClipBufferRect.dmg”, 110.7K)



Description

This example shows the use of clip regions and buffer rects in AGL. The example has menu operations to create a standard or model window and then toggle clip regions and buffer rects on and off. Note the controls correct receive clicks and the window resize is properly supported. See Technical Q&A 1222 at <http://developer.apple.com/qa> for more details. This example also provides a single Mach-O source and both CodeWarrior 8.3+ and Project Builder projects, showing how each should be structured. Requirements: ProjectBuilder or CodeWarrior 8.3+ Keywords: OpenGL, AGL, clip region, buffer rect, Mach-O

Document Revision History

Date Notes
2003-01-14Shows the use of clip regions and buffer rects in AGL.

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.