/[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 186 - (hide annotations) (download)
Sat Jul 24 02:23:18 2010 UTC (9 years, 5 months ago) by william
File size: 1426 byte(s)
continue to add xml documentation

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 william 186 /// <summary>
10     /// Texture structure
11     /// </summary>
12 william 70 [StructLayout(LayoutKind.Sequential, Pack = 4), Size(Size = 72)]
13 william 142 public struct Texture
14 william 70 {
15 william 186 /// <summary>
16     /// Texture filename
17     /// </summary>
18 william 70 [MarshalAs(UnmanagedType.LPStr)]
19     public string FromFileName;
20 william 186 /// <summary>
21     /// TextureType
22     /// </summary>
23 william 96 public Int32 TextureType;
24 william 186 /// <summary>
25     /// Width
26     /// </summary>
27 william 96 public Int32 Width;
28 william 186 /// <summary>
29     /// Height
30     /// </summary>
31 william 96 public Int32 Height;
32 william 186 /// <summary>
33     /// Encoding
34     /// </summary>
35 william 96 public Int32 Encoding;
36 william 186 /// <summary>
37     /// SubFormat
38     /// </summary>
39 william 96 public Int32 SubFormat;
40 william 186 /// <summary>
41     /// Pixel layout
42     /// </summary>
43 william 70 public Layout Layout;//no pointer used in C code, typo?; 36
44 william 186 /// <summary>
45     /// Images associated with this texture
46     /// </summary>
47 william 70 public ArrayOfStructures Images;
48 william 186 /// <summary>
49     /// pointer to ExtendedData
50     /// </summary>
51 william 70 public IntPtr ExtendedData;
52     }
53     }

  ViewVC Help
Powered by ViewVC 1.1.22