From d2d6b4cb728e3e80c10d6e3bbd72e6f7b3dfea9b Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Sat, 23 Nov 2024 08:44:49 +0100 Subject: META: Morning bump. Signed-off-by: Amlal EL Mahrouss --- dev/Modules/WSGL/WSGL.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'dev/Modules/WSGL') 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 +#include + +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 -- cgit v1.2.3