-(CCSprite *)spriteWithColor:(ccColor4F)bgColor textureSize:(float)textureSize {
// 1: Create new CCRenderTexture
CCRenderTexture *rt = ;
// 2: Call CCRenderTexture:begin
;
// 3: Draw into the texture
// We’ll add this later
// 4: Call CCRenderTexture:end
;
// 5: Create a new Sprite from the texture
return ;
}
最后那个rt.sprite.texture如果用C++写,应该怎么改,谢谢大神啊