How can i understand or use cocos2d-x 3.2 api?

hi i am a korean
but i ask something …

i read the cocos2d-x api. but i can’t understand …
how to use api ???
can you show me exampel ??

how to use this api ?

static SpriteBatchNode* createWithTexture
( Texture2D *  tex, ssize_t 
capacity = DEFAULT_CAPACITY )

http://www.cocos2d-x.org/reference/native-cpp/V3.2/d3/d82/classcocos2d_1_1_node.html#a416b51d95d2450cb2ab6c34b2872d536

what is this ? ? ?( Texture2D * tex, ssize_t capacity = DEFAULT_CAPACITY )

and one more

virtual void visit ( Renderer *  renderer, const Mat4 &  parentTransform, uint32_t parentFlags

hoq can i use that ??
help me :frowning:

      )

Have you written any code? Or are you just trying to understand how to use cocos2d-x in general?

If you’ve written some code, then post some of it with the issue you’re having and maybe we can help.

If you’re trying to understand how to use cocos2d-x in general, I wouldn’t start with the API. I would start with some tutorials. For some tutorials, look here and video tutorials here