Пример #1
0
 public override void Initialize(object config, string outPath)
 {
     m_config  = (fcAPI.fcExrConfig)config;
     m_ctx     = fcAPI.fcExrCreateContext(ref m_config);
     m_outPath = outPath;
     m_frame   = 0;
 }
        public override void Initialize(ImageSequenceRecorder recorder)
        {
            m_recorder = recorder;
            var exrconf = m_recorder.exrConfig;

            m_ctx = fcAPI.fcExrCreateContext(ref exrconf);
        }
Пример #3
0
        public override void Initialize(object config, string outPath)
        {
            if (!fcAPI.fcExrIsSupported())
            {
                Debug.LogError("Exr encoder is not available on this platform.");
                return;
            }

            m_config  = (fcAPI.fcExrConfig)config;
            m_ctx     = fcAPI.fcExrCreateContext(ref m_config);
            m_outPath = outPath;
            m_frame   = 0;
        }