|
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCGrid.h>
Instance Methods | |
| (id) | - initWithSize:texture:flippedTexture: |
| (id) | - initWithSize: |
| (void) | - beforeDraw |
| (void) | - afterDraw: |
| (void) | - blit |
| (void) | - reuse |
| (void) | - calculateVertexPoints |
Class Methods | |
| (id) | + gridWithSize:texture:flippedTexture: |
| (id) | + gridWithSize: |
Protected Attributes | |
| BOOL | active_ |
| int | reuseGrid_ |
| ccGridSize | gridSize_ |
| CCTexture2D * | texture_ |
| CGPoint | step_ |
| CCGrabber * | grabber_ |
| BOOL | isTextureFlipped_ |
| CCGLProgram * | shaderProgram_ |
| ccDirectorProjection | directorProjection_ |
Properties | |
| BOOL | active |
| int | reuseGrid |
| ccGridSize | gridSize |
| CGPoint | step |
| CCTexture2D * | texture |
| CCGrabber * | grabber |
| BOOL | isTextureFlipped |
| CCGLProgram * | shaderProgram |
Base class for other
|
readwritenonatomicassign |
whether or not the grid is active
|
readwritenonatomicretain |
grabber used
|
readnonatomicassign |
size of the grid
|
readwritenonatomicassign |
is texture flipped
|
readwritenonatomicassign |
number of times that the grid will be reused
|
readwritenonatomicassign |
shader program
|
readwritenonatomicassign |
pixels between the grids
|
readwritenonatomicretain |
texture used