summaryrefslogtreecommitdiffhomepage
path: root/dev/Modules/WSGL/WSGL.h
diff options
context:
space:
mode:
authorAmlal EL Mahrouss. <113760121+amlel-el-mahrouss@users.noreply.github.com>2024-11-26 15:41:56 +0100
committerGitHub <noreply@github.com>2024-11-26 15:41:56 +0100
commitf05ac8c656f3dccd79e7b3a276c86f08be2bb9f7 (patch)
tree8d9307c53d6ba28d321f3469cf933bf076d92d23 /dev/Modules/WSGL/WSGL.h
parentf71dee9aae7f590caf77d226e694b8224c9c1e22 (diff)
parent476e896ba9169b4b71c1e80d3e44dd006934b3e5 (diff)
Merge pull request #4 from ELMH-Group/unstable
Unstable
Diffstat (limited to 'dev/Modules/WSGL/WSGL.h')
-rw-r--r--dev/Modules/WSGL/WSGL.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev/Modules/WSGL/WSGL.h b/dev/Modules/WSGL/WSGL.h
index 47bf402f..59cf6f5c 100644
--- a/dev/Modules/WSGL/WSGL.h
+++ b/dev/Modules/WSGL/WSGL.h
@@ -7,3 +7,29 @@
#pragma once
#include <NewKit/Defines.h>
+#include <Modules/FB/WS.h>
+
+namespace WS
+{
+ /// @brief GPU texture class.
+ class WSWindowTexture final
+ {
+ public:
+ explicit WSWindowTexture() = default;
+ ~WSWindowTexture() = default;
+
+ ZKA_COPY_DEFAULT(WSWindowTexture);
+
+ VoidPtr InputData{nullptr};
+ VoidPtr ProcessUnit{nullptr};
+ BOOL* IsDone{nullptr};
+
+ const BOOL TryIsDone()
+ {
+ if (IsDone && *IsDone)
+ return YES;
+
+ return NO;
+ }
+ };
+} // namespace WS