mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-26 09:07:30 +01:00
pch migration to modules [wip]
This commit is contained in:
27
gl/fence.cppm
Normal file
27
gl/fence.cppm
Normal file
@@ -0,0 +1,27 @@
|
||||
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
|
||||
Reference in New Issue
Block a user