public VectorImageManager(UIRAtlasManager atlasManager)
 {
     this.m_AtlasManager          = atlasManager;
     this.m_Registered            = new Dictionary <VectorImage, VectorImageRenderInfo>(32);
     this.m_RenderInfoPool        = new VectorImageRenderInfoPool();
     this.m_GradientRemapPool     = new GradientRemapPool();
     this.m_GradientSettingsAtlas = new GradientSettingsAtlas(4096);
 }
Example #2
0
        public VectorImageManager(AtlasBase atlas)
        {
            instances.Add(this);

            m_Atlas = atlas;

            m_Registered            = new Dictionary <VectorImage, VectorImageRenderInfo>(32);
            m_RenderInfoPool        = new VectorImageRenderInfoPool();
            m_GradientRemapPool     = new GradientRemapPool();
            m_GradientSettingsAtlas = new GradientSettingsAtlas();
        }