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.
Наследование: ImageCodec
Пример #1
0
 public static void Shutdown()
 {
     if (_instance != null)
     {
         CodecManager.Instance.UnregisterCodec(_instance);
         _instance = null;
     }
 }
Пример #2
0
 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 );
			}
		}