www.pudn.com > fluid.rar > Scene.h, change:2006-10-28,size:781b


#ifndef __Scene_H__ 
#define __Scene_H__ 
 
namespace Scene 
{ 
	enum DisplayMode 
	{ 
		DM_SOURCE = 0, 
		DM_VELOCITY, 
		DM_PRESSURE, 
		DM_VORTICITY, 
		DM_FORCE 
	}; 
 
	enum FluidType 
	{ 
		FT_SMOKE = 0, 
		//FT_LIQUID, 
	}; 
 
	void init(); 
	void onCreateDevice( IDirect3DDevice9* pd3dDevice, const D3DSURFACE_DESC* pBackBufferSurfaceDesc = NULL, void* pUserContext=NULL ); 
	void onResetDevice( IDirect3DDevice9* pd3dDevice, const D3DSURFACE_DESC* pBackBufferSurfaceDesc = NULL, void* pUserContext=NULL ); 
	void onLostDevice( void* pUserContext=NULL ); 
	void onDestroyDevice( void* pUserContext=NULL ); 
	void render(double fTime, float fElapsedTime); 
	void reset(); 
	void clearScene(); 
	void setFluidType(DTK::uint fluid); 
 
	 
} 
 
#endif  //end ifndef __Scene_H__