Debian Codegraph @

src/base_rendering/castleinternalglutils.pas

raw
1 {
2 Copyright 2021-2023 Michalis Kamburelis.
3
4 This file is part of "Castle Game Engine".
5
6 "Castle Game Engine" is free software; see the file COPYING.txt,
7 included in this distribution, for details about the copyright.
8
9 "Castle Game Engine" is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13 ----------------------------------------------------------------------------
14 }
15
16 { Various internal OpenGL(ES) features, to help OpenGL(ES) rendering. }
17 unit CastleInternalGLUtils;
18
19 {$I castleconf.inc}
20 {$I openglmac.inc}
21
22 interface
23
24 uses
25 SysUtils, Math, Generics.Collections,
26 {$ifdef OpenGLES} CastleGLES, {$else} CastleGL, {$endif}
27 CastleImages, CastleUtils, CastleVectors, CastleRectangles,
28 CastleColors, CastleProjection, CastleRenderOptions, CastleGLShaders,
29 CastleGLUtils;
30
31 {$define read_interface}
32
33 {$I castleinternalglutils_errors.inc}
34 {$I castleinternalglutils_helpers.inc}
35 {$I castleinternalglutils_mipmaps.inc}
36
37 {$undef read_interface}
38
39 implementation
40
41 {$define read_implementation}
42
43 uses
44 CastleFilesUtils, CastleStringUtils, CastleGLVersion,
45 CastleLog, CastleApplicationProperties, CastleRenderContext;
46
47 {$I castleinternalglutils_errors.inc}
48 {$I castleinternalglutils_helpers.inc}
49 {$I castleinternalglutils_mipmaps.inc}
50
51 end.