1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
-
- namespace NRKernal.Record
- {
- using UnityEngine;
- public abstract class BlenderBase : IFrameConsumer
- {
- public virtual RenderTexture BlendTexture { get; protected set; }
-
-
- public int Width
- {
- get;
- protected set;
- }
-
-
- public int Height
- {
- get;
- protected set;
- }
-
-
- public BlendMode BlendMode
- {
- get;
- protected set;
- }
-
-
- public int FrameCount
- {
- get;
- protected set;
- }
- public virtual void Init(Camera camera, IEncoder encoder, CameraParameters param) { }
- public virtual void OnFrame(UniversalTextureFrame frame) { }
- public virtual void Dispose() { }
- }
- }
|