/[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 166 by william, Thu Jul 22 14:24:07 2010 UTC revision 183 by william, Fri Jul 23 21:08:46 2010 UTC
# Line 155  namespace gr2lib.core.coretypes.implemen Line 155  namespace gr2lib.core.coretypes.implemen
155          }          }
156    
157          #region ITexture Members          #region ITexture Members
   
         //[RefreshPropertiesAttribute(RefreshProperties.All)]  
         //public string TextureTypeFormat  
         //{  
         //    get  
         //    {  
         //        string texture_type = "Unknown Texture Type";  
   
         //        foreach (int val in Enum.GetValues(typeof(granny_texture_type)))  
         //        {  
         //            if (val == this.TextureType)  
         //            {  
         //                texture_type = Enum.GetName(typeof(granny_texture_type),val);  
         //                break;  
         //            }  
         //        }  
         //        return texture_type;  
         //    }  
         //}  
         //[RefreshPropertiesAttribute(RefreshProperties.All)]  
         //public string EncodingFormat  
         //{  
         //    get  
         //    {  
         //        string encodingformat = "Unknown Encoding Format";  
   
         //        foreach (int val in Enum.GetValues(typeof(granny_texture_encoding)))  
         //        {  
         //            if (val == this.Encoding)  
         //            {  
         //                encodingformat = Enum.GetName(typeof(granny_texture_encoding), val);  
         //                break;  
         //            }  
         //        }  
         //        return encodingformat;  
         //    }  
         //}  
   
158          [RefreshPropertiesAttribute(RefreshProperties.All)]          [RefreshPropertiesAttribute(RefreshProperties.All)]
159          public FilePath FromFileName { get { return _FromFileName; } set { _FromFileName = value; } }          public FilePath FromFileName { get { return _FromFileName; } set { _FromFileName = value; } }
160          [RefreshPropertiesAttribute(RefreshProperties.All)]          [RefreshPropertiesAttribute(RefreshProperties.All)]
# Line 217  namespace gr2lib.core.coretypes.implemen Line 179  namespace gr2lib.core.coretypes.implemen
179    
180          #region INativePointer Members          #region INativePointer Members
181          private IntPtr _NativePointer;          private IntPtr _NativePointer;
182            /// <summary>
183            /// When used in a derived class, gets the native pointer for this instance
184            /// </summary>
185          public IntPtr NativePointer { get { return _NativePointer; } set { _NativePointer = value; } }          public IntPtr NativePointer { get { return _NativePointer; } set { _NativePointer = value; } }
186          #endregion          #endregion
187    
188          #region IExtendedData Members          #region IExtendedData Members
189          private IntPtr _ExtendedData;          private IntPtr _ExtendedData;
190            /// <summary>
191            /// When used in a derived class, gets the ExtendedData pointer for this instance
192            /// </summary>
193          public IntPtr ExtendedData { get { return _ExtendedData; } set { _ExtendedData = value; } }          public IntPtr ExtendedData { get { return _ExtendedData; } set { _ExtendedData = value; } }
194          #endregion          #endregion
195    

Legend:
Removed from v.166  
changed lines
  Added in v.183

  ViewVC Help
Powered by ViewVC 1.1.22