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
ファイル: DDSCodec.cs プロジェクト: ryan-bunker/axiom3d
		public static void Shutdown()
		{
			if ( _instance != null )
			{
				CodecManager.Instance.UnregisterCodec( _instance );
				_instance = null;
			}
		}
コード例 #4
0
ファイル: DDSCodec.cs プロジェクト: ryan-bunker/axiom3d
		public static void Initialize()
		{
			if ( _instance == null )
			{
				LogManager.Instance.Write( "DDS codec registering" );
				_instance = new DDSCodec();
				CodecManager.Instance.RegisterCodec( _instance );
			}
		}