예제 #1
0
void VHParticlesSystemHoudini::lockOpenGLContext() {

    //warning not called during VHParticlesSystem constructor

    RE_Render* myRender = RE_Render::getRenderContext(2);
    myRender->lockContextForRender();

}
예제 #2
0
void VHFluidSolver3DHoudini::lockOpenGLContext(){

	RE_Render* myRender = RE_Render::getRenderContext(2);
	myRender->lockContextForRender();

}