Beispiel #1
0
        public void Load()
        {
            Il.ilInit();
            Ilu.iluInit();

            if (tex2dConv == null)
            {
                tex2dConv = new TextureConverter();
            }
            if (idxMapMixer == null) 
            {
                idxMapMixer = new IndexMapMixer();
            }
            if (idxMapMixer4 == null) 
            {
                idxMapMixer4 = new IndexMapMixer4();
            }
            ConverterManager.Instance.Register(tex2dConv);
            ConverterManager.Instance.Register(idxMapMixer);
            ConverterManager.Instance.Register(idxMapMixer4);
        }
Beispiel #2
0
        public void Load()
        {
            Il.ilInit();
            Ilu.iluInit();

            if (tex2dConv == null)
            {
                tex2dConv = new TextureConverter();
            }
            if (idxMapMixer == null)
            {
                idxMapMixer = new IndexMapMixer();
            }
            if (idxMapMixer4 == null)
            {
                idxMapMixer4 = new IndexMapMixer4();
            }
            ConverterManager.Instance.Register(tex2dConv);
            ConverterManager.Instance.Register(idxMapMixer);
            ConverterManager.Instance.Register(idxMapMixer4);
        }