/[Sims3RigEditor]/trunk/gr2lib_typedefs/typedefs/TextureBinder.cs
ViewVC logotype

Contents of /trunk/gr2lib_typedefs/typedefs/TextureBinder.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: 977 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_typedefs.typedefs.TextureCreator.interfaces;
5 using gr2lib_typedefs.typedefs.TextureCreator;
6 using System.IO;
7
8 namespace gr2lib_typedefs.typedefs
9 {
10 public class TextureBinder : ITextureBinder
11 {
12 private List<Type> BindableTextures;
13 public TextureBinder()
14 {
15 this.BindableTextures = new List<Type>();
16 this.TextureMaker = new default_texture_creator();
17 }
18
19 public TextureBinder(string filename) { this.init(); }
20 public TextureBinder(byte[] data) { this.init(); }
21 public TextureBinder(MemoryStream ms) { this.init(); }
22
23 private void init()
24 {
25 }
26
27 #region ITextureBinder Members
28 private object _TextureMaker;
29 public object TextureMaker { get { return _TextureMaker; } private set { _TextureMaker = value; } }
30 #endregion
31 }
32 }

  ViewVC Help
Powered by ViewVC 1.1.22