Texture2D(Drawing) Class Reference

#import <Texture2D.h>

List of all members.

Public Member Functions

(void) - drawAtPoint:
(void) - drawInRect:


Detailed Description

Drawing extensions to make it easy to draw basic quads using a Texture2D object. These functions require GL_TEXTURE_2D and both GL_VERTEX_ARRAY and GL_TEXTURE_COORD_ARRAY client states to be enabled.

Member Function Documentation

- (void) drawAtPoint: (CGPoint)  point  

draws a texture at a given point

- (void) drawInRect: (CGRect)  rect  

draws a texture inside a rect


The documentation for this class was generated from the following file:

Generated on Tue Jun 9 10:39:45 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8