/**----------------------------------------------------------------------------- * 기하정보 초기화 *------------------------------------------------------------------------------ */ HRESULT InitGeometry() { InitMatrix(); InitTexture(); InitVB(); InitFX(); return S_OK; }
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; }