/[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 142 by william, Mon Jul 19 09:17:53 2010 UTC revision 149 by william, Tue Jul 20 08:11:51 2010 UTC
# Line 31  namespace gr2lib.core.coretypes.implemen Line 31  namespace gr2lib.core.coretypes.implemen
31              return this.FromFileName.Name;              return this.FromFileName.Name;
32          }          }
33    
34          private string _ParentResourceName;          //private string _ParentResourceName;
35          protected internal string ParentResourceName { get { return "Textures"; } }          protected internal string ParentResourceName { get { return "Textures"; } }
36    
37          public Texture()// : base("Textures")          public Texture()// : base("Textures")
# Line 68  namespace gr2lib.core.coretypes.implemen Line 68  namespace gr2lib.core.coretypes.implemen
68          {          {
69              native.Texture _texture_struct = new gr2lib.core.coretypes.native.Texture();              native.Texture _texture_struct = new gr2lib.core.coretypes.native.Texture();
70    
71              _texture_struct.Encoding = texture.Encoding;              //_texture_struct.Encoding = texture.Encoding;
72              _texture_struct.ExtendedData = texture.ExtendedData;              //_texture_struct.ExtendedData = texture.ExtendedData;
73              _texture_struct.FromFileName = texture.FromFileName.FullPath;              //_texture_struct.FromFileName = texture.FromFileName.FullPath;
74              _texture_struct.Height = texture.Height;              //_texture_struct.Height = texture.Height;
75              //_texture_struct.Images = texture.Images;              ////_texture_struct.Images = texture.Images;
76              _texture_struct.Layout = Layout.AssignToStructure(texture.Layout);              //_texture_struct.Layout = Layout.AssignToStructure(texture.Layout);
77              _texture_struct.SubFormat = texture.SubFormat;              //_texture_struct.SubFormat = texture.SubFormat;
78              _texture_struct.TextureType = texture.TextureType;              //_texture_struct.TextureType = texture.TextureType;
79              _texture_struct.Width = texture.Width;              //_texture_struct.Width = texture.Width;
80    
81              return _texture_struct;              return _texture_struct;
82          }          }

Legend:
Removed from v.142  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.22