cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TextureCache::AsyncStruct Struct Reference

#include <CCTextureCache.h>

Public Member Functions

 AsyncStruct (const std::string &fn, std::function< void(Texture2D *)> f)
 AsyncStruct ( var fn, var f)
 AsyncStruct ( local fn, local f)

Public Attributes

std::string filename
std::function< void(Texture2D *)> callback
var callback
local callback

Constructor & Destructor Documentation

AsyncStruct ( const std::string &  fn,
std::function< void(Texture2D *)>  f 
)
inline
var AsyncStruct ( var  fn,
var  f 
)
inline
local AsyncStruct ( local  fn,
local  f 
)
inline

Member Data Documentation

std::function<void(Texture2D*)>
callback
var callback
local callback
std::string filename
var filename
local filename

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