public void useSelfRender(){
  atlasIndex=CCSpriteIndexNotInitialized;
  usesSpriteSheet_=false;
  textureAtlas_=null;
  spriteSheet_=null;
  dirty_=recursiveDirty_=false;
  float x1=0 + offsetPosition_.x;
  float y1=0 + offsetPosition_.y;
  float x2=x1 + rect_.size.width;
  float y2=y1 + rect_.size.height;
  vertexes.position(0);
  tmpV[0]=x1;
  tmpV[1]=y2;
  tmpV[2]=0;
  tmpV[3]=x1;
  tmpV[4]=y1;
  tmpV[5]=0;
  tmpV[6]=x2;
  tmpV[7]=y2;
  tmpV[8]=0;
  tmpV[9]=x2;
  tmpV[10]=y1;
  tmpV[11]=0;
  BufferUtils.copyFloats(tmpV,0,vertexes,12);
  vertexes.position(0);
}

public void useSelfRender ( ) { atlasIndex = CCSpriteIndexNotInitialized ; usesSpriteSheet_ = false ; textureAtlas_ = null ; spriteSheet_ = null ; dirty_ = recursiveDirty_ = false ; float x1 = 0 + offsetPosition_ . x ; float y1 = 0 + offsetPosition_ . y ; float x2 = x1 + rect_ . size . width ; float y2 = y1 + rect_ . size . height ; vertexes . position ( 0 ) ; tmpV [ 0 ] = x1 ; tmpV [ 1 ] = y2 ; tmpV [ 2 ] = 0 ; tmpV [ 3 ] = x1 ; tmpV [ 4 ] = y1 ; tmpV [ 5 ] = 0 ; tmpV [ 6 ] = x2 ; tmpV [ 7 ] = y2 ; tmpV [ 8 ] = 0 ; tmpV [ 9 ] = x2 ; tmpV [ 10 ] = y1 ; tmpV [ 11 ] = 0 ; BufferUtils . copyFloats ( tmpV , 0 , vertexes , 12 ) ; vertexes . position ( 0 ) ; }
tell the sprite to use self - render .
