#include <NewRendererTest.h>
◆ VBOFullTest()
| VBOFullTest::VBOFullTest |
( |
| ) |
|
|
protected |
在文件 NewRendererTest.cpp 第 584 行定义.
586 Size s = Director::getInstance()->getWinSize();
587 Node* parent = Node::create();
588 parent->setPosition(0,0);
591 for (
int i=0; i< Renderer::VBO_SIZE / 3.9; ++i)
593 Sprite* sprite = Sprite::create(
"Images/grossini_dance_01.png");
594 sprite->setScale(0.1f, 0.1f);
595 float x = ((float)std::rand()) /RAND_MAX;
596 float y = ((float)std::rand()) /RAND_MAX;
597 sprite->setPosition(Vec2(x * s.width, y * s.height));
598 parent->addChild(sprite);
◆ ~VBOFullTest()
| VBOFullTest::~VBOFullTest |
( |
| ) |
|
|
protectedvirtual |
◆ CREATE_FUNC()
◆ subtitle()
| std::string VBOFullTest::subtitle |
( |
| ) |
const |
|
overridevirtual |
◆ title()
| std::string VBOFullTest::title |
( |
| ) |
const |
|
overridevirtual |
该类的文档由以下文件生成:
- /Users/yujizhu/Documents/Git/cocos2d-x-4.0/tests/cpp-tests/Classes/NewRendererTest/NewRendererTest.h
- /Users/yujizhu/Documents/Git/cocos2d-x-4.0/tests/cpp-tests/Classes/NewRendererTest/NewRendererTest.cpp