/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/Texture.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/Texture.cs

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

revision 75 by william, Thu Jul 15 19:27:54 2010 UTC revision 79 by william, Thu Jul 15 21:50:56 2010 UTC
# Line 3  using System.Collections.Generic; Line 3  using System.Collections.Generic;
3  using System.Text;  using System.Text;
4  using gr2lib.core.helpers;  using gr2lib.core.helpers;
5    
6    using gr2lib.core.interfaces;
7    
8  namespace gr2lib.core.coretypes.implementation  namespace gr2lib.core.coretypes.implementation
9  {  {
   
     public interface ITexture  
     {  
         FilePath FromFileName { get; set; }  
         int TextureType { get; set; }  
         int Width { get; set; }  
         int Height { get; set; }  
         int Encoding { get; set; }  
         int SubFormat { get; set; }  
         Layout Layout { get; set; }  
         List<Image> Images { get; set; }  
         IntPtr ExtendedData { get; set; }  
     }  
   
10      public class Texture : ITexture      public class Texture : ITexture
11      {      {
12          private FilePath _FromFileName;          private FilePath _FromFileName;
# Line 31  namespace gr2lib.core.coretypes.implemen Line 19  namespace gr2lib.core.coretypes.implemen
19          private List<Image> _Images;          private List<Image> _Images;
20          private IntPtr _ExtendedData;          private IntPtr _ExtendedData;
21    
22          public IntPtr NativePointer;          
23    
24          public Texture()          public Texture()
25          {          {
# Line 92  namespace gr2lib.core.coretypes.implemen Line 80  namespace gr2lib.core.coretypes.implemen
80          public List<Image> Images { get { return _Images; } set { _Images = value; } }          public List<Image> Images { get { return _Images; } set { _Images = value; } }
81          public IntPtr ExtendedData { get { return _ExtendedData; } set { _ExtendedData = value; } }          public IntPtr ExtendedData { get { return _ExtendedData; } set { _ExtendedData = value; } }
82          #endregion          #endregion
83    
84            #region INativePointer Members
85            private IntPtr _NativePointer;
86            public IntPtr NativePointer { get { return _NativePointer; } set { _NativePointer = value; } }
87            #endregion
88      }      }
89  }  }

Legend:
Removed from v.75  
changed lines
  Added in v.79

  ViewVC Help
Powered by ViewVC 1.1.22