cocos2d-x  3.3
 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 {
  SP_ATLAS_ALPHA, SP_ATLAS_INTENSITY, SP_ATLAS_LUMINANCE_ALPHA, SP_ATLAS_RGB565,
  SP_ATLAS_RGBA4444, SP_ATLAS_RGB888, SP_ATLAS_RGBA8888
}
 
enum  spAtlasFilter {
  SP_ATLAS_NEAREST, SP_ATLAS_LINEAR, SP_ATLAS_MIPMAP, SP_ATLAS_MIPMAP_NEAREST_NEAREST,
  SP_ATLAS_MIPMAP_LINEAR_NEAREST, SP_ATLAS_MIPMAP_NEAREST_LINEAR, SP_ATLAS_MIPMAP_LINEAR_LINEAR
}
 
enum  spAtlasWrap { SP_ATLAS_MIRROREDREPEAT, SP_ATLAS_CLAMPTOEDGE, SP_ATLAS_REPEAT }
 

Functions

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

Enumeration Type Documentation

Enumerator
SP_ATLAS_NEAREST 
SP_ATLAS_LINEAR 
SP_ATLAS_MIPMAP 
SP_ATLAS_MIPMAP_NEAREST_NEAREST 
SP_ATLAS_MIPMAP_LINEAR_NEAREST 
SP_ATLAS_MIPMAP_NEAREST_LINEAR 
SP_ATLAS_MIPMAP_LINEAR_LINEAR 
Enumerator
SP_ATLAS_NEAREST 
SP_ATLAS_LINEAR 
SP_ATLAS_MIPMAP 
SP_ATLAS_MIPMAP_NEAREST_NEAREST 
SP_ATLAS_MIPMAP_LINEAR_NEAREST 
SP_ATLAS_MIPMAP_NEAREST_LINEAR 
SP_ATLAS_MIPMAP_LINEAR_LINEAR 
Enumerator
SP_ATLAS_NEAREST 
SP_ATLAS_LINEAR 
SP_ATLAS_MIPMAP 
SP_ATLAS_MIPMAP_NEAREST_NEAREST 
SP_ATLAS_MIPMAP_LINEAR_NEAREST 
SP_ATLAS_MIPMAP_NEAREST_LINEAR 
SP_ATLAS_MIPMAP_LINEAR_LINEAR 
Enumerator
SP_ATLAS_ALPHA 
SP_ATLAS_INTENSITY 
SP_ATLAS_LUMINANCE_ALPHA 
SP_ATLAS_RGB565 
SP_ATLAS_RGBA4444 
SP_ATLAS_RGB888 
SP_ATLAS_RGBA8888 
Enumerator
SP_ATLAS_ALPHA 
SP_ATLAS_INTENSITY 
SP_ATLAS_LUMINANCE_ALPHA 
SP_ATLAS_RGB565 
SP_ATLAS_RGBA4444 
SP_ATLAS_RGB888 
SP_ATLAS_RGBA8888 
Enumerator
SP_ATLAS_ALPHA 
SP_ATLAS_INTENSITY 
SP_ATLAS_LUMINANCE_ALPHA 
SP_ATLAS_RGB565 
SP_ATLAS_RGBA4444 
SP_ATLAS_RGB888 
SP_ATLAS_RGBA8888 
Enumerator
SP_ATLAS_MIRROREDREPEAT 
SP_ATLAS_CLAMPTOEDGE 
SP_ATLAS_REPEAT 
Enumerator
SP_ATLAS_MIRROREDREPEAT 
SP_ATLAS_CLAMPTOEDGE 
SP_ATLAS_REPEAT 
local spAtlasWrap
Enumerator
SP_ATLAS_MIRROREDREPEAT 
SP_ATLAS_CLAMPTOEDGE 
SP_ATLAS_REPEAT 

Function Documentation

spAtlasPage* spAtlasPage_create ( spAtlas atlas,
const char *  name 
)
var spAtlasPage_create ( var  atlas,
var  name 
)
local spAtlasPage_create ( local  atlas,
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_create ( const char *  data,
int  length,
const char *  dir,
void *  rendererObject 
)
var spAtlas_create ( var  data,
var  length,
var  dir,
var  rendererObject 
)
local spAtlas_create ( local  data,
local  length,
local  dir,
local  rendererObject 
)
spAtlas* spAtlas_createFromFile ( const char *  path,
void *  rendererObject 
)
var spAtlas_createFromFile ( var  path,
var  rendererObject 
)
local spAtlas_createFromFile ( local  path,
local  rendererObject 
)
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 
)