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
파일: 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 );
			}
		}