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

Annotation of /trunk/gr2lib/core/coretypes/native/Texture.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 96 - (hide annotations) (download)
Sat Jul 17 05:11:13 2010 UTC (9 years, 6 months ago) by william
File size: 688 byte(s)
bulk commit:

*Update structs to use simple datatypes
*Add new Classes, etc, etc

1 william 70 using System;
2     using System.Collections.Generic;
3     using System.Text;
4     using System.Runtime.InteropServices;
5     using gr2lib.core.typedefs;
6    
7     namespace gr2lib.core.coretypes.native
8     {
9     [StructLayout(LayoutKind.Sequential, Pack = 4), Size(Size = 72)]
10     internal struct Texture
11     {
12     [MarshalAs(UnmanagedType.LPStr)]
13     public string FromFileName;
14 william 96 public Int32 TextureType;
15     public Int32 Width;
16     public Int32 Height;
17     public Int32 Encoding;
18     public Int32 SubFormat;
19 william 70 public Layout Layout;//no pointer used in C code, typo?; 36
20     public ArrayOfStructures Images;
21     public IntPtr ExtendedData;
22     }
23     }

  ViewVC Help
Powered by ViewVC 1.1.22