blob: d3f9ddfc2a3b2cce79f347ec33dc370e7ca590e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/RefCounted.h>
namespace GL {
class Texture : public RefCounted<Texture> {
public:
virtual ~Texture() { }
virtual bool is_texture_1d() const { return false; }
virtual bool is_texture_2d() const { return false; }
virtual bool is_texture_3d() const { return false; }
virtual bool is_cube_map() const { return false; }
};
}
|