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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 36 - (show annotations) (download)
Thu Aug 5 19:00:37 2010 UTC (9 years, 6 months ago) by william
File size: 1274 byte(s)
Add classes in an attempt to create an intelligent texture creator/importer/exporter/parser/etc,etc

1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using gr2lib.core.ui.helpers;
5
6 namespace gr2lib_typedefs.typedefs.TextureCreator.interfaces
7 {
8
9 public enum TextureCreatorImageType : int
10 {
11 Undefined,
12 DotNetSupportedImageFormat,
13 DDS
14 }
15
16
17
18 //public enum TextureCreatorSubImageType : int
19 //{
20 // Undefined,
21 // // .NET Supported Image Formats
22 // DotNetUnknownImageFormat,
23 // BMP,
24 // JPEG,
25 // GIF,
26 // PNG,
27 // // DDS Specific Formats (DirectX) (S3TC)
28 // DXTUnknown,
29 // Dxt1,
30 // Dxt2,
31 // Dxt3,
32 // Dxt4,
33 // Dxt5,
34 // Bgr565,
35 // Bgra5551
36 //}
37
38 public interface IBaseTextureResource : IBaseTextureResourceData { }
39
40
41 public interface IBaseTextureResourceData
42 {
43 FilePath TextureName { get; }
44 int TextureWidth { get; }
45 int TextureHeight { get; }
46 int TextureBitsPerPixel { get; }
47 int TextureBytesPerPixel { get; }
48
49 int TextureStride { get; }
50 int TextureMipMapCount { get; }
51
52 object TextureRawPixelFormat { get; }
53 object TextureSpecificPixelFormat { get; }
54 }
55 }
56

  ViewVC Help
Powered by ViewVC 1.1.22