mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-30 01:25:49 +00:00
28 lines
846 B
C++
28 lines
846 B
C++
#ifndef INCLUDED_IRENDER3D_H
|
|
#define INCLUDED_IRENDER3D_H
|
|
|
|
#include <cstdint>
|
|
|
|
/*
|
|
* IRender3D:
|
|
*
|
|
* Interface (abstract base class) for Real3D rendering engine.
|
|
*/
|
|
class IRender3D
|
|
{
|
|
public:
|
|
virtual void RenderFrame(void) = 0;
|
|
virtual void BeginFrame(void) = 0;
|
|
virtual void EndFrame(void) = 0;
|
|
virtual void UploadTextures(unsigned x, unsigned y, unsigned width, unsigned height) = 0;
|
|
virtual void AttachMemory(const uint32_t *cullingRAMLoPtr, const uint32_t *cullingRAMHiPtr, const uint32_t *polyRAMPtr, const uint32_t *vromPtr, const uint16_t *textureRAMPtr) = 0;
|
|
virtual void SetStep(int stepID) = 0;
|
|
virtual bool Init(unsigned xOffset, unsigned yOffset, unsigned xRes, unsigned yRes, unsigned totalXRes, unsigned totalYRes) = 0;
|
|
|
|
virtual ~IRender3D()
|
|
{
|
|
}
|
|
};
|
|
|
|
#endif // INCLUDED_IRENDER3D_H
|