Method TryGetRawData
- Namespace
 - MaaFramework.Binding.Buffers
 
- Assembly
 - MaaFramework.Binding.Native.dll
 
TryGetRawData(out nint)
Gets the image raw data.
public bool TryGetRawData(out nint data)Parameters
datanint- 
The image data (cv::Mat::data).
 
Returns
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaImageBufferGetRawData(System.IntPtr).
TryGetRawData(out nint, out int, out int, out int)
Gets the image raw data.
public bool TryGetRawData(out nint data, out int width, out int height, out int type)Parameters
datanint- 
The image data (cv::Mat::data).
 widthint- 
The image width.
 heightint- 
The image height.
 typeint- 
The image type.
 
Returns
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaImageBufferGetRawData(System.IntPtr).
TryGetRawData(nint, out nint)
Gets the image raw data.
public static bool TryGetRawData(nint handle, out nint data)Parameters
Returns
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaImageBufferGetRawData(System.IntPtr).
TryGetRawData(nint, out nint, out int, out int, out int)
Gets the image raw data.
public static bool TryGetRawData(nint handle, out nint data, out int width, out int height, out int type)Parameters
handlenint- 
The MaaImageBufferHandle.
 datanint- 
The image data (cv::Mat::data).
 widthint- 
The image width.
 heightint- 
The image height.
 typeint- 
The image type.
 
Returns
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaImageBufferGetRawData(System.IntPtr).