12345678910111213141516171819202122232425262728293031323334353637383940 |
- /****************************************************************************
- * Copyright 2019 Nreal Techonology Limited. All rights reserved.
- *
- * This file is part of NRSDK.
- *
- * https://www.nreal.ai/
- *
- *****************************************************************************/
- namespace NRKernal.Record
- {
- using System;
- using UnityEngine;
- public interface IEncoderBase
- {
-
- }
- /// <summary> Interface for encoder. </summary>
- public interface IEncoder : IEncoderBase
- {
- /// <summary> Configurations the given parameter. </summary>
- /// <param name="param"> The parameter.</param>
- void Config(CameraParameters param);
- /// <summary> Commits. </summary>
- /// <param name="rt"> The right.</param>
- /// <param name="timestamp"> The timestamp.</param>
- void Commit(RenderTexture rt, UInt64 timestamp);
- /// <summary> Starts this object. </summary>
- void Start();
- /// <summary> Stops this object. </summary>
- void Stop();
- /// <summary> Releases this object. </summary>
- void Release();
- }
- }
|