some stuff

This commit is contained in:
2026-03-05 21:25:59 +02:00
parent 2da75ebdd8
commit 99f68e655f
41 changed files with 706 additions and 324 deletions

View File

@@ -3,6 +3,10 @@
#include "tier0/platform.h"
#include "tier2/iappsystem.h"
#include "materialsystem/humandevice_enums.h"
typedef void ( *KeyCallbackFn )( EInputDeviceType eDevice, EInputButton eButton, bool bIsPressed );
typedef void ( *AxisCallbackFn )( EInputDeviceType eDevice, EInputAxis eAxis, float fd );
class IImage;
abstract_class IGameWindow: public IAppSystem
@@ -17,6 +21,9 @@ public:
virtual void SetOutputImage( IImage *pImage ) = 0;
virtual IImage *GetOutputImage() = 0;
virtual void SetKeyCallback( KeyCallbackFn fn ) = 0;
virtual void SetAxisCallback( AxisCallbackFn fn ) = 0;
virtual void *CreateVulkanSurface( void *pInstance ) = 0;
virtual void DestroyVulkanSurface( void *pInstance ) = 0;
};