blob: b1dc8bb56d8446196394c66d40ccadb28b168600 (
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, ELMH Group, 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
|