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
Esempio n. 1
0
 public static void Shutdown()
 {
     if (_instance != null)
     {
         CodecManager.Instance.UnregisterCodec(_instance);
         _instance = null;
     }
 }
Esempio n. 2
0
 public static void Initialize()
 {
     if (_instance == null)
     {
         LogManager.Instance.Write("DDS codec registering");
         _instance = new DDSCodec();
         CodecManager.Instance.RegisterCodec(_instance);
     }
 }
Esempio n. 3
0
		public static void Shutdown()
		{
			if ( _instance != null )
			{
				CodecManager.Instance.UnregisterCodec( _instance );
				_instance = null;
			}
		}
Esempio n. 4
0
		public static void Initialize()
		{
			if ( _instance == null )
			{
				LogManager.Instance.Write( "DDS codec registering" );
				_instance = new DDSCodec();
				CodecManager.Instance.RegisterCodec( _instance );
			}
		}