PixelSensorStreamBuffer
NameSpace: PixelSensors
A class representing a buffer associated with a pixel sensor's stream
Public Fields
LastCaptureTime
public long LastCaptureTime { get; set; }
Public Methods
void AllocateBuffer
Allocate the required internal buffers for the stream. Calls the native function to get the buffer size and then allocates a buffer
public void AllocateBuffer()
void Dispose
public void Dispose()
PixelSensorStreamBuffer
public PixelSensorStreamBuffer(
uint streamIndex,
PixelSensor sensor
)
Parameters
Type | Name | Description |
---|---|---|
uint | streamIndex | |
PixelSensor | sensor |
Public Attributes
RequestedMetaDataTypes
public readonly List< PixelSensorMetaDataType > RequestedMetaDataTypes = new();
Type | Description |
---|---|
readonly List< PixelSensorMetaDataType > | The metadata types that can be supported by a sensor |