Codec specialized in loading DDS (Direct Draw Surface) images.
We implement our own codec here since we need to be able to keep DXT data compressed if the card supports it.
Inheritance: ImageCodec
示例#1
0
文件: DDSCodec.cs 项目: axiom3d/axiom
 public static void Shutdown()
 {
     if (_instance != null)
     {
         CodecManager.Instance.UnregisterCodec(_instance);
         _instance = null;
     }
 }
示例#2
0
文件: DDSCodec.cs 项目: axiom3d/axiom
 public static void Initialize()
 {
     if (_instance == null)
     {
         LogManager.Instance.Write("DDS codec registering");
         _instance = new DDSCodec();
         CodecManager.Instance.RegisterCodec(_instance);
     }
 }
示例#3
0
		public static void Shutdown()
		{
			if ( _instance != null )
			{
				CodecManager.Instance.UnregisterCodec( _instance );
				_instance = null;
			}
		}
示例#4
0
		public static void Initialize()
		{
			if ( _instance == null )
			{
				LogManager.Instance.Write( "DDS codec registering" );
				_instance = new DDSCodec();
				CodecManager.Instance.RegisterCodec( _instance );
			}
		}