Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
texture.h
/* texture.h - by David Blythe, SGI */ |
/* Simple SGI .rgb image file loader routine. */ |
unsigned * |
read_texture(char *name, int *width, int *height, int *components); |
extern void imgLoad(char *filenameIn, |
int borderIn, GLfloat borderColorIn[4], |
int *wOut, int *hOut, GLubyte ** imgOut); |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-16