0024622: Add method to AIS_TexturedShape class to assign texture data directly from...
[occt.git] / src / Graphic3d / Graphic3d_Texture2Dmanual.cdl
index 8e4d69f..8a24579 100644 (file)
@@ -25,7 +25,8 @@ inherits Texture2D from Graphic3d
 uses
 
   NameOfTexture2D from Graphic3d,
-  AsciiString     from TCollection
+  AsciiString     from TCollection,
+  PixMap_Handle   from Image
 
 is
 
@@ -35,4 +36,7 @@ is
   Create (theNOT : NameOfTexture2D from Graphic3d) returns mutable Texture2Dmanual from Graphic3d;
   ---Purpose: Creates a texture from a predefined texture name set.
 
+  Create (thePixMap : PixMap_Handle from Image) returns mutable Texture2Dmanual from Graphic3d;
+  ---Purpose: Creates a texture from the pixmap.
+
 end Texture2Dmanual;