Class HistoryFrame
History frame, contains 3 previous frames.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.FastImageProcessing
Assembly: VisioForge.Core.dll
Syntax
public class HistoryFrame : IDisposable
Constructors
HistoryFrame(BaseContext)
Initializes a new instance of the HistoryFrame class.
Declaration
public HistoryFrame(BaseContext context)
Parameters
Type | Name | Description |
---|---|---|
BaseContext | context | The context. |
Fields
CurrentFrameCopy
The current frame copy.
Declaration
public nint CurrentFrameCopy
Field Value
Type | Description |
---|---|
nint |
Frame0
Frame 0.
Declaration
public nint Frame0
Field Value
Type | Description |
---|---|
nint |
Frame1
Frame 1.
Declaration
public nint Frame1
Field Value
Type | Description |
---|---|
nint |
Frame2
Frame 2.
Declaration
public nint Frame2
Field Value
Type | Description |
---|---|
nint |
Methods
Allocate(int, nint)
Allocates frames.
Declaration
public void Allocate(int size, nint frame)
Parameters
Type | Name | Description |
---|---|---|
int | size | Frame size. |
nint | frame | Frame data. |
Clear()
Clears frames.
Declaration
public void Clear()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Fill(nint, int)
Fills frames.
Declaration
public void Fill(nint frame, int frameSize)
Parameters
Type | Name | Description |
---|---|---|
nint | frame | Frame data. |
int | frameSize | Frame size. |
~HistoryFrame()
Declaration
protected ~HistoryFrame()