jak-project/game/graphics/gfx.h
2021-08-06 22:30:02 -04:00

28 lines
448 B
C++

#pragma once
/*!
* @file gfx.h
* Graphics component for the runtime. Handles some low-level routines.
*/
#ifndef RUNTIME_GFX_H
#define RUNTIME_GFX_H
#include <functional>
#include "common/common_types.h"
#include "display.h"
#include "game/kernel/kboot.h"
namespace Gfx {
u32 Init();
void Loop(std::function<bool()> f);
u32 Exit();
u32 vsync();
void send_chain(const void* data, u32 offset);
} // namespace Gfx
#endif // RUNTIME_GFX_H