summaryrefslogtreecommitdiffhomepage
path: root/dev/Modules/WSGL/WSGL.h
blob: 59cf6f5c4e7afefa98c3fbb948b9e94097f143e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* -------------------------------------------

	Copyright (C) 2024, EL Mahrouss Logic, all rights reserved.

------------------------------------------- */

#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