/[Sims3RigEditor]/trunk/gr2lib_typedefs/typedefs/TextureCreator/interfaces/IBaseCustomTextureCreator.cs
ViewVC logotype

Diff of /trunk/gr2lib_typedefs/typedefs/TextureCreator/interfaces/IBaseCustomTextureCreator.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib_typedefs/interfaces/ICustomTextureCreator.cs	2010/08/05 13:15:23	34
+++ trunk/gr2lib_typedefs/typedefs/TextureCreator/interfaces/IBaseCustomTextureCreator.cs	2010/08/05 19:00:37	36
@@ -3,19 +3,19 @@
 using System.Text;
 using gr2lib.core.ui.helpers;
 
-namespace gr2lib_typedefs.interfaces
+namespace gr2lib_typedefs.typedefs.TextureCreator.interfaces
 {
 
-    public enum TextureCreator_ImageType : int
+    public enum TextureCreatorImageType : int
     {
         Undefined,
         DotNetSupportedImageFormat,
-        //DDS
+        DDS
     }
 
-    
 
-    //public enum TextureCreator_SubImageType : int
+
+    //public enum TextureCreatorSubImageType : int
     //{       
     //    Undefined,
     //    // .NET Supported Image Formats
@@ -35,38 +35,22 @@
     //    Bgra5551
     //}
 
-    public interface ICustomTextureCreator : 
-        ICustomTextureCreatorTextureData, 
-        ICustomTextureCreatorPixelData//,
-       // ICustomTextureCreatorTextureType
-    {
-    }
+    public interface IBaseTextureResource : IBaseTextureResourceData { }
 
-    public interface ICustomTextureCreatorTextureType
-    {
-        bool IsST3C { get; }
-    }
 
-    public interface ICustomTextureCreatorTextureData
+    public interface IBaseTextureResourceData
     {
-        FilePath Name { get; }
-        int Width { get; }
-        int Height { get; }
-        int BytesPerPixel { get; }
+        FilePath TextureName { get; }
+        int TextureWidth { get; }
+        int TextureHeight { get; }
+        int TextureBitsPerPixel { get; }
+        int TextureBytesPerPixel { get; }
 
-        int Stride { get; }
-        int MipMapCount { get; }
+        int TextureStride { get; }
+        int TextureMipMapCount { get; }
 
-        object RawPixelFormat { get; }
-        object TexturePixelFormat { get; }
-
-        TextureCreator_ImageType ImageType { get; }
-        //TextureCreator_SubImageType SubImageType { get; }
-    }
-    public interface ICustomTextureCreatorPixelData
-    {
-        int PixelBytesCount { get; }
-        IntPtr PixelBytesPointer { get; }
-        byte[] PixelBytes { get; }//set; }
+        object TextureRawPixelFormat { get; }
+        object TextureSpecificPixelFormat { get; }
     }
 }
+

 

  ViewVC Help
Powered by ViewVC 1.1.22