OpenGL extension specifications:
OpenGL sample code projects (Sample Code > Graphics & Imaging > OpenGL):
OpenGL Image segments a rectangular image into several power-of-two textures and shows how to use OpenGL for high performance image display.
Quartz Composer Texture shows how to use the QCRenderer class to render a Quartz Composer composition into an OpenGL pixel buffer, create a texture from it, and use the texture in an OpenGL scene.
TexturePerformanceDemo provides code that uploads textures using two different ways, one of which is more optimized than the other.
TextureRange shows how to use various OpenGL extensions to optimize uploading texture data.
NSGLImage demonstrates how to use the NSImage and NSBitmapImageRep classes for texturing.
More information on the Quartz API and how to use Quartz:
CGImageSource Reference describes the CGImageSourceRef data type and the functions that operate on it.
CGColorSpace Reference describes the CGColorSpaceRef data type and the functions that operate on it.
Quartz 2D Programming Guide describes how to write code that uses all the Quartz data types, including the CGImageSourceRef and CGColorSpaceRef data types.
Last updated: 2008-06-09