0024622: Add method to AIS_TexturedShape class to assign texture data directly from...
[occt.git] / src / Graphic3d / Graphic3d_Texture1Dmanual.cdl
index c1dc415..ad7129c 100644 (file)
@@ -24,7 +24,8 @@ inherits Texture1D from Graphic3d
 uses
 
   NameOfTexture1D from Graphic3d,
-  AsciiString     from TCollection
+  AsciiString     from TCollection,
+  PixMap_Handle   from Image
 
 is
 
@@ -34,4 +35,7 @@ is
   Create (theNOT : NameOfTexture1D from Graphic3d) returns mutable Texture1Dmanual from Graphic3d;
   ---Purpose: Create a texture from a predefined texture name set.
 
+  Create (thePixMap : PixMap_Handle from Image) returns mutable Texture1Dmanual from Graphic3d;
+  ---Purpose: Creates a texture from the pixmap.
+
 end Texture1Dmanual;