您的位置:首页 > 其它

write_down_firstly_bout_dynamic_memmory_arrange

2012-01-06 18:12 148 查看
class A
{
static ....;    //indices and vertices
public:
void initDataWithD3D(...);    //init the graphics with the static data by d3d
}

......;    //initial the static params and reality functions

........
........
........
A* a = new A();
a->initDataWithD3D(...);
delete a;   //if it is ok ,or i should 'delete a' just before the end of program
.......
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: