cocos2d for iPhone 1.0.0
2D engine for iOS and OS X
Functions
/Users/rquesada/progs/cocos2d-iphone/cocos2d/Support/ccUtils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

unsigned long ccNextPOT (unsigned long value)

Detailed Description

Misc free functions

Definition in file ccUtils.h.


Function Documentation

unsigned long ccNextPOT ( unsigned long  value)

returns the Next Power of Two value.

Examples:

  • If "value" is 15, it will return 16.
  • If "value" is 16, it will return 16.
  • If "value" is 17, it will return 32.
Since:
v0.99.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone API Reference - Generated using Doxygen 1.7.4