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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (show annotations) (download)
Thu Jul 15 12:55:21 2010 UTC (9 years, 10 months ago) by william
File size: 723 byte(s)
initial commit of support to read ArtToolInfo

1 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 public granny_int32 TextureType;
15 public granny_int32 Width;
16 public granny_int32 Height;
17 public granny_int32 Encoding;
18 public granny_int32 SubFormat;
19 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