opengl: Add 'no_Shine' constant.
This commit is contained in:
@@ -230,13 +230,17 @@ is
|
||||
no_lucid_Color : constant lucid_Color;
|
||||
|
||||
|
||||
function to_Color (From : in rgb_Color) return Color;
|
||||
|
||||
|
||||
-- Shine
|
||||
--
|
||||
subtype Shine is Real range 1.0 .. Real'Last;
|
||||
|
||||
default_Shine : constant := 0.05;
|
||||
no_Shine : constant Shine;
|
||||
default_Shine : constant Shine; -- Defaults to no shine.
|
||||
|
||||
|
||||
function to_Color (From : in rgb_Color) return Color;
|
||||
|
||||
|
||||
----------
|
||||
-- Images
|
||||
@@ -248,6 +252,7 @@ is
|
||||
function to_Image (From : in lucid_Image) return Image;
|
||||
|
||||
|
||||
|
||||
-----------
|
||||
-- Texture
|
||||
--
|
||||
@@ -398,6 +403,13 @@ private
|
||||
type rgba_Colors is array (Index_t range <>) of rgba_Color;
|
||||
|
||||
|
||||
-- Shine
|
||||
--
|
||||
no_Shine : constant Shine := Shine'Last;
|
||||
default_Shine : constant Shine := no_Shine;
|
||||
|
||||
|
||||
|
||||
-- Conversions
|
||||
--
|
||||
function to_Color (Red, Green, Blue : in Primary) return rgb_Color;
|
||||
|
||||
Reference in New Issue
Block a user