Debian Codegraph @

src/scene/x3d/x3dnodes_standard_textureprojector.inc

raw
1 {%MainUnit x3dnodes.pas}
2 {
3 Copyright 2023-2023 Michalis Kamburelis.
4
5 This file is part of "Castle Game Engine".
6
7 "Castle Game Engine" is free software; see the file COPYING.txt,
8 included in this distribution, for details about the copyright.
9
10 "Castle Game Engine" is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
14 ----------------------------------------------------------------------------
15 }
16
17 {$ifdef read_interface}
18
19 { Abstract node for all base nodes that specify texture projection.
20 @bold(This standard X3D node is not implemented yet.)
21 Instead of this node, you can use ProjectedTextureCoordinate in CGE. }
22 TAbstractTextureProjectorNode = class(TAbstractLightNode)
23 {$I auto_generated_node_helpers/x3dnodes_x3dtextureprojectornode.inc}
24 end;
25
26 { Texture projection following perspective projection volume.
27 @bold(This standard X3D node is not implemented yet.)
28 Instead of this node, you can use ProjectedTextureCoordinate in CGE. }
29 TTextureProjectorNode = class(TAbstractTextureProjectorNode)
30 {$I auto_generated_node_helpers/x3dnodes_textureprojector.inc}
31 end;
32
33 { Texture projection following parallel (orthographic) projection volume.
34 @bold(This standard X3D node is not implemented yet.)
35 Instead of this node, you can use ProjectedTextureCoordinate in CGE. }
36 TTextureProjectorParallelNode = class(TAbstractTextureProjectorNode)
37 {$I auto_generated_node_helpers/x3dnodes_textureprojectorparallel.inc}
38 end;
39
40 {$endif read_interface}
41
42 {$ifdef read_implementation}
43
44 {$I auto_generated_node_helpers/x3dnodes_textureprojector.inc}
45 {$I auto_generated_node_helpers/x3dnodes_textureprojectorparallel.inc}
46 {$I auto_generated_node_helpers/x3dnodes_x3dtextureprojectornode.inc}
47
48 procedure RegisterTextureProjectorNodes;
49 begin
50 NodesManager.RegisterNodeClasses([
51 TAbstractTextureProjectorNode,
52 TTextureProjectorNode,
53 TTextureProjectorParallelNode
54 ]);
55 end;
56
57 {$endif read_implementation}