| 1 |
{ |
| 2 |
Copyright 2016-2022 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 |
{ Configure rendering options. |
| 17 |
The @link(TCastleRenderOptions) component configures the rendering at each particular scene, |
| 18 |
and is usually accessed through @link(TCastleScene.RenderOptions). |
| 19 |
This unit contains also related types, constants and some variables. } |
| 20 |
unit CastleRenderOptions; |
| 21 |
|
| 22 |
{$I castleconf.inc} |
| 23 |
|
| 24 |
interface |
| 25 |
|
| 26 |
uses Classes, |
| 27 |
CastleColors, CastleClassUtils; |
| 28 |
|
| 29 |
{$define read_interface} |
| 30 |
{$I castlerenderoptions_globals.inc} |
| 31 |
{$I castlerenderoptions_renderoptions.inc} |
| 32 |
{$undef read_interface} |
| 33 |
|
| 34 |
implementation |
| 35 |
|
| 36 |
uses SysUtils, |
| 37 |
CastleLog, CastleUtils; |
| 38 |
|
| 39 |
{$define read_implementation} |
| 40 |
{$I castlerenderoptions_globals.inc} |
| 41 |
{$I castlerenderoptions_renderoptions.inc} |
| 42 |
|
| 43 |
end. |