Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
828 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //===========================================================================//
  8. #ifndef IWORLDRENDERERMGR_H
  9. #define IWORLDRENDERERMGR_H
  10. #include "iworldrenderer.h"
  11. #include "iworld.h"
  12. abstract_class IWorldRendererMgr : public IAppSystem
  13. {
  14. public:
  15. virtual IWorldRenderer *CreateWorldRenderer() = 0;
  16. virtual void DestroyWorldRenderer( IWorldRenderer *pWorldRenderer ) = 0;
  17. virtual bool IsHWInstancingEnabled() = 0;
  18. virtual void SetHWInstancingEnabled( bool bInstancingEnabled ) = 0;
  19. // New world stuff
  20. virtual HWorld CreateWorld( const char *pWorldName ) = 0;
  21. virtual void DestroyWorld( HWorld hWorld ) = 0;
  22. virtual IWorld *GetWorldPtr( HWorld hWorld ) = 0;
  23. };
  24. #endif