opengl: Rid 'Texture' and 'Texture_is' for texture_Sets.
This commit is contained in:
@@ -8,6 +8,26 @@ is
|
||||
package body Mixin
|
||||
is
|
||||
|
||||
overriding
|
||||
procedure texture_Object_is (Self : in out textured_Item; Which : in texture_Set.texture_Id;
|
||||
Now : in openGL.texture.Object)
|
||||
is
|
||||
begin
|
||||
Self.texture_Details.Objects (Integer (Which)) := Now;
|
||||
end texture_Object_is;
|
||||
|
||||
|
||||
|
||||
overriding
|
||||
function texture_Object (Self : in textured_Item; Which : in texture_Set.texture_Id) return openGL.texture.Object
|
||||
is
|
||||
begin
|
||||
return Self.texture_Details.Objects (Integer (Which));
|
||||
end texture_Object;
|
||||
|
||||
|
||||
|
||||
|
||||
overriding
|
||||
procedure Fade_is (Self : in out textured_Item; Which : in texture_Set.texture_Id;
|
||||
Now : in texture_Set.fade_Level)
|
||||
|
||||
Reference in New Issue
Block a user