| 1 |
{ |
| 2 |
Copyright 2016-2018 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 |
{ Shaders types. } |
| 17 |
unit CastleShaders deprecated 'use CastleRenderOptions'; |
| 18 |
|
| 19 |
interface |
| 20 |
|
| 21 |
{$I castleconf.inc} |
| 22 |
|
| 23 |
uses CastleRenderOptions; |
| 24 |
|
| 25 |
type |
| 26 |
{ Shader types. } |
| 27 |
TShaderType = CastleRenderOptions.TShaderType; |
| 28 |
|
| 29 |
const |
| 30 |
stVertex = CastleRenderOptions.stVertex; |
| 31 |
stGeometry = CastleRenderOptions.stGeometry; |
| 32 |
stFragment = CastleRenderOptions.stFragment; |
| 33 |
|
| 34 |
ShaderTypeName: array [TShaderType] of string = |
| 35 |
( 'Vertex', 'Geometry', 'Fragment' ); |
| 36 |
|
| 37 |
ShaderTypeNameX3D: array [TShaderType] of string = |
| 38 |
( 'VERTEX', 'GEOMETRY', 'FRAGMENT' ) |
| 39 |
deprecated 'do not use this constant, it should be internal in X3D units'; |
| 40 |
|
| 41 |
implementation |
| 42 |
|
| 43 |
end. |