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.
 
 
 
 
 
 

30 lines
828 B

//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//
//===========================================================================//
#ifndef IWORLDRENDERERMGR_H
#define IWORLDRENDERERMGR_H
#include "iworldrenderer.h"
#include "iworld.h"
abstract_class IWorldRendererMgr : public IAppSystem
{
public:
virtual IWorldRenderer *CreateWorldRenderer() = 0;
virtual void DestroyWorldRenderer( IWorldRenderer *pWorldRenderer ) = 0;
virtual bool IsHWInstancingEnabled() = 0;
virtual void SetHWInstancingEnabled( bool bInstancingEnabled ) = 0;
// New world stuff
virtual HWorld CreateWorld( const char *pWorldName ) = 0;
virtual void DestroyWorld( HWorld hWorld ) = 0;
virtual IWorld *GetWorldPtr( HWorld hWorld ) = 0;
};
#endif