mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 13:19:20 +02:00
28 lines
343 B
C++
28 lines
343 B
C++
module;
|
|
#include "glad/glad.h"
|
|
|
|
export module eu07.gl.fence;
|
|
import eu07.gl.object;
|
|
|
|
export {
|
|
|
|
|
|
namespace gl
|
|
{
|
|
class fence
|
|
{
|
|
GLsync sync;
|
|
|
|
public:
|
|
fence();
|
|
~fence();
|
|
|
|
bool is_signalled();
|
|
|
|
fence(const fence&) = delete;
|
|
fence& operator=(const fence&) = delete;
|
|
};
|
|
}
|
|
|
|
} // export
|