Ejemplo n.º 1
0
        public override void Initialize(ImageSequenceRecorder recorder)
        {
            m_recorder = recorder;
            var pngconf = m_recorder.pngConfig;

            m_ctx = fcAPI.fcPngCreateContext(ref pngconf);
        }
Ejemplo n.º 2
0
 public override void Initialize(object config, string outPath)
 {
     m_config  = (fcAPI.fcPngConfig)config;
     m_ctx     = fcAPI.fcPngCreateContext(ref m_config);
     m_outPath = outPath;
     m_frame   = 0;
 }
Ejemplo n.º 3
0
        public override void Initialize(object config, string outPath)
        {
            if (!fcAPI.fcPngIsSupported())
            {
                Debug.LogError("Png encoder is not available on this platform.");
                return;
            }

            m_config  = (fcAPI.fcPngConfig)config;
            m_ctx     = fcAPI.fcPngCreateContext(ref m_config);
            m_outPath = outPath;
            m_frame   = 0;
        }