Improved performance (less memory copying, less spin waiting, etc.) - uses less CPU at normal speed, and faster when no FPS limit
10 lines
No EOL
151 B
C++
10 lines
No EOL
151 B
C++
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
|
|
class IRenderingDevice
|
|
{
|
|
public:
|
|
virtual void UpdateFrame(void *frameBuffer) = 0;
|
|
virtual void Render() = 0;
|
|
}; |