SHARE
TWEET

Untitled

a guest Jul 17th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     /// <summary>
  2.     /// Enumeration of GPU vendors.
  3.     /// </summary>
  4.     public enum GpuVendor
  5.     {
  6.     [ScriptEnum( "Unknown" )]
  7.         Unknown = 0,
  8.     [ScriptEnum( "Nvidia" )]
  9.         Nvidia = 1,
  10.     [ScriptEnum( "Ati" )]
  11.         Ati = 2,
  12.     [ScriptEnum( "Intel" )]
  13.         Intel = 3,
  14.     [ScriptEnum( "S3" )]
  15.         S3 = 4,
  16.     [ScriptEnum( "Matrox" )]
  17.         Matrox = 5,
  18.     [ScriptEnum( "3DLabs" )]
  19.         _3DLabs = 6,
  20.     [ScriptEnum( "Sis" )]
  21.         Sis = 7,
  22.     [ScriptEnum( "Imagination Technologies" )]
  23.         ImaginationTechnologies = 8,
  24.     [ScriptEnum( "Apple" )]
  25.         Apple = 9,  // Apple Software Renderer
  26.     [ScriptEnum( "Nokia" )]
  27.         Nokia = 10,
  28.     };
  29.  
  30.     GpuVendor vendor = ScriptEnumAttribute.Lookup( "3DLabs", GpuVendor );
RAW Paste Data
Top