Ejemplo n.º 1
0
/**-----------------------------------------------------------------------------
 * 기하정보 초기화
 *------------------------------------------------------------------------------
 */
HRESULT InitGeometry()
{
	InitMatrix();
	InitTexture();
	InitVB();
	InitFX();
	return S_OK;
}
Ejemplo n.º 2
0
bool TopicApp::Init()
{
	if(!DXApp::Init())
		return false;

    // Better to init d3d stuff at the beginning (buffer...)
    // Device call are expensive, specially for creating stuff
	InitGeometryBuffers();
	InitFX();
	InitVertexLayout();

	return true;
}