Method SetRawData
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.Native.dll
SetRawData(nint, int, int, int)
Sets the image raw data.
public bool SetRawData(nint data, int width, int height, int type)
Parameters
data
nint-
The raw data of image.
width
int-
The width of image.
height
int-
The height of image.
type
int-
The type of image.
Returns
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaImageBufferSetRawData(System.IntPtr,System.IntPtr,System.Int32,System.Int32,System.Int32).