cocos2d-x  3.0rc1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Atlas.h File Reference

Classes

struct  spAtlasPage
 
struct  spAtlasRegion
 
struct  spAtlas
 

Enumerations

enum  spAtlasFormat {
  ATLAS_ALPHA, ATLAS_INTENSITY, ATLAS_LUMINANCE_ALPHA, ATLAS_RGB565,
  ATLAS_RGBA4444, ATLAS_RGB888, ATLAS_RGBA8888
}
 
enum  spAtlasFilter {
  ATLAS_NEAREST, ATLAS_LINEAR, ATLAS_MIPMAP, ATLAS_MIPMAP_NEAREST_NEAREST,
  ATLAS_MIPMAP_LINEAR_NEAREST, ATLAS_MIPMAP_NEAREST_LINEAR, ATLAS_MIPMAP_LINEAR_LINEAR
}
 
enum  spAtlasWrap { ATLAS_MIRROREDREPEAT, ATLAS_CLAMPTOEDGE, ATLAS_REPEAT }
 

Functions

spAtlasPage (const char *name)
void  (spAtlasPage *self)
spAtlasRegion ()
void  (spAtlasRegion *self)
spAtlas (const char *data, int length, const char *dir)
var  ( var data, var length, var dir)
local  ( local data, local length, local dir)
spAtlas (const char *path)
void  (spAtlas *atlas)
spAtlasRegion (const spAtlas *self, const char *name)

Enumeration Type Documentation

Enumerator
ATLAS_NEAREST 
ATLAS_LINEAR 
ATLAS_MIPMAP 
ATLAS_MIPMAP_NEAREST_NEAREST 
ATLAS_MIPMAP_LINEAR_NEAREST 
ATLAS_MIPMAP_NEAREST_LINEAR 
ATLAS_MIPMAP_LINEAR_LINEAR 
Enumerator
ATLAS_NEAREST 
ATLAS_LINEAR 
ATLAS_MIPMAP 
ATLAS_MIPMAP_NEAREST_NEAREST 
ATLAS_MIPMAP_LINEAR_NEAREST 
ATLAS_MIPMAP_NEAREST_LINEAR 
ATLAS_MIPMAP_LINEAR_LINEAR 
Enumerator
ATLAS_NEAREST 
ATLAS_LINEAR 
ATLAS_MIPMAP 
ATLAS_MIPMAP_NEAREST_NEAREST 
ATLAS_MIPMAP_LINEAR_NEAREST 
ATLAS_MIPMAP_NEAREST_LINEAR 
ATLAS_MIPMAP_LINEAR_LINEAR 
Enumerator
ATLAS_ALPHA 
ATLAS_INTENSITY 
ATLAS_LUMINANCE_ALPHA 
ATLAS_RGB565 
ATLAS_RGBA4444 
ATLAS_RGB888 
ATLAS_RGBA8888 
Enumerator
ATLAS_ALPHA 
ATLAS_INTENSITY 
ATLAS_LUMINANCE_ALPHA 
ATLAS_RGB565 
ATLAS_RGBA4444 
ATLAS_RGB888 
ATLAS_RGBA8888 
Enumerator
ATLAS_ALPHA 
ATLAS_INTENSITY 
ATLAS_LUMINANCE_ALPHA 
ATLAS_RGB565 
ATLAS_RGBA4444 
ATLAS_RGB888 
ATLAS_RGBA8888 
Enumerator
ATLAS_MIRROREDREPEAT 
ATLAS_CLAMPTOEDGE 
ATLAS_REPEAT 
Enumerator
ATLAS_MIRROREDREPEAT 
ATLAS_CLAMPTOEDGE 
ATLAS_REPEAT 
local spAtlasWrap
Enumerator
ATLAS_MIRROREDREPEAT 
ATLAS_CLAMPTOEDGE 
ATLAS_REPEAT 

Function Documentation

spAtlasPage* spAtlasPage_create ( const char *  name)
var spAtlasPage_create ( var  name)
local spAtlasPage_create ( local  name)
void spAtlasPage_dispose ( spAtlasPage self)
var spAtlasPage_dispose ( var  self)
local spAtlasPage_dispose ( local  self)
spAtlasRegion* spAtlasRegion_create ( )
var spAtlasRegion_create ( )
local spAtlasRegion_create ( )
void spAtlasRegion_dispose ( spAtlasRegion self)
var spAtlasRegion_dispose ( var  self)
local spAtlasRegion_dispose ( local  self)
spAtlas* spAtlas_readAtlas ( const char *  data,
int  length,
const char *  dir 
)
var spAtlas_readAtlas ( var  data,
var  length,
var  dir 
)
local spAtlas_readAtlas ( local  data,
local  length,
local  dir 
)
spAtlas* spAtlas_readAtlasFile ( const char *  path)
var spAtlas_readAtlasFile ( var  path)
local spAtlas_readAtlasFile ( local  path)
void spAtlas_dispose ( spAtlas atlas)
var spAtlas_dispose ( var  atlas)
local spAtlas_dispose ( local  atlas)
spAtlasRegion* spAtlas_findRegion ( const spAtlas self,
const char *  name 
)
var spAtlas_findRegion ( var  self,
var  name 
)
local spAtlas_findRegion ( local  self,
local  name 
)